* Added an offset/sequence field to the net_buffer - this can and will be used
by the TCP implementation for its reorder and retransmit queues. * The ipv4_fragment is no longer needed, as we can use the above field there as well - this saves one extra allocation per received fragment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19369 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -22,6 +22,14 @@ typedef struct net_buffer {
|
||||
struct sockaddr_storage source;
|
||||
struct sockaddr_storage destination;
|
||||
struct net_interface *interface;
|
||||
union {
|
||||
struct {
|
||||
uint16 start;
|
||||
uint16 end;
|
||||
} fragment;
|
||||
uint32 sequence;
|
||||
uint32 offset;
|
||||
};
|
||||
uint32 flags;
|
||||
uint32 size;
|
||||
uint8 protocol;
|
||||
|
||||
Reference in New Issue
Block a user