Changeset 12df1f1 in mainline for uspace/srv/net/udp
- 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/udp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/pdu.c
r956d4281 r12df1f1 110 110 host2addr128_t_be(dest_v6, phdr6->dest_addr); 111 111 phdr6->udp_length = host2uint32_t_be(pdu->data_size); 112 memset(phdr6->zero , 0, 3);112 memset(phdr6->zeroes, 0, 3); 113 113 phdr6->next = IP_PROTO_UDP; 114 114 break; -
uspace/srv/net/udp/std.h
r956d4281 r12df1f1 54 54 } udp_header_t; 55 55 56 /** UDP IPv4pseudo header */56 /** UDP over IPv4 checksum pseudo header */ 57 57 typedef struct { 58 58 /** Source address */ … … 68 68 } udp_phdr_t; 69 69 70 /** UDP IPv6pseudo header */70 /** UDP over IPv6 checksum pseudo header */ 71 71 typedef struct { 72 72 /** Source address */ … … 76 76 /** UDP length */ 77 77 uint32_t udp_length; 78 /** Reserved*/79 uint8_t zero [3];78 /** Zeroes */ 79 uint8_t zeroes[3]; 80 80 /** Next header */ 81 81 uint8_t next;
Note:
See TracChangeset
for help on using the changeset viewer.