CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - ip_reasm
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - ip_reasm - List
[
Internet-Network
]
IP-packet-restructuring
DL : 0
IP报文的重组: a)将IP报文存入临时的HASH链表中,这个HASH链表中是等待合并的报文队列头 b)判断当这一个IP报文分片加入后是否可以构造出一个完整的IP报文,如果可以的话,分配一个新的帧缓冲区,将数据复制入新的帧缓冲区,返回该报文。 -IP Packets restructuring: a) the IP packets into a temporary HASH list, this list is waiting to merge HASH packet queue head b) to determine if this IP packet whether the patch can be constructed by adding a complete IP packets, if possible, assign a new frame buffer, copy the data into the new frame buffer, the return packet.
Update
: 2025-02-17
Size
: 62kb
Publisher
:
苏兰
[
Internet-Network
]
ip_reasm
DL : 0
主要实现报文重组。单个IP报文由帧缓冲区数据结构struct sk_buff描述,其中成员lst用来组织链表结构,iph指向报文中IP首部的起始位置,成员head,end分别用来标识整个数据缓冲区的范围,而data、tail用来标识有效数据缓冲的范围,注意end与tail都是指向范围外的第一个字节。-A single IP packet data structure by the frame buffer struct sk_buff description, including members to organization developed iph list structure, pointing in the first message, the starting position of IP members used to identify a head, end the whole data buffer respectively, and the scope of data, tail is used to identify effective data buffer area, attention with tail are pointing to end the first byte beyond.
Update
: 2025-02-17
Size
: 3kb
Publisher
:
陈旭
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.