Changeset 12df1f1 in mainline for uspace/srv/net/tcp
- Timestamp:
- 2013-07-15T16:42:08Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a940f1d
- Parents:
- 956d4281
- Location:
- uspace/srv/net/tcp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/pdu.c
r956d4281 r12df1f1 172 172 phdr6->tcp_length = 173 173 host2uint32_t_be(pdu->header_size + pdu->text_size); 174 memset(phdr6->zero , 0, 3);174 memset(phdr6->zeroes, 0, 3); 175 175 phdr6->next = IP_PROTO_TCP; 176 176 break; -
uspace/srv/net/tcp/std.h
r956d4281 r12df1f1 75 75 }; 76 76 77 /** TCP IPv4pseudo header */77 /** TCP over IPv4 checksum pseudo header */ 78 78 typedef struct { 79 79 /** Source address */ … … 89 89 } tcp_phdr_t; 90 90 91 /** TCP IPv6pseudo header */91 /** TCP over IPv6 checksum pseudo header */ 92 92 typedef struct { 93 93 /** Source address */ … … 98 98 uint32_t tcp_length; 99 99 /** Zeroes */ 100 uint8_t zero [3];100 uint8_t zeroes[3]; 101 101 /** Next header */ 102 102 uint8_t next;
Note:
See TracChangeset
for help on using the changeset viewer.