Changeset 98abd40 in mainline for uspace/srv/net/udp/std.h
- Timestamp:
- 2013-07-06T21:57:22Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8bb1633, cdc8a391
- Parents:
- b8e72fd1 (diff), 507c6f3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/std.h
rb8e72fd1 r98abd40 40 40 #include <sys/types.h> 41 41 42 #define IP_PROTO_UDP 1742 #define IP_PROTO_UDP 17 43 43 44 44 /** UDP Header */ … … 54 54 } udp_header_t; 55 55 56 /** UDP pseudo header */56 /** UDP IPv4 pseudo header */ 57 57 typedef struct { 58 58 /** Source address */ … … 64 64 /** Protocol */ 65 65 uint8_t protocol; 66 /** TCP length */66 /** UDP length */ 67 67 uint16_t udp_length; 68 68 } udp_phdr_t; 69 70 /** UDP IPv6 pseudo header */ 71 typedef struct { 72 /** Source address */ 73 addr128_t src_addr; 74 /** Destination address */ 75 addr128_t dest_addr; 76 /** UDP length */ 77 uint32_t udp_length; 78 /** Reserved */ 79 uint8_t zero[3]; 80 /** Next header */ 81 uint8_t next; 82 } udp_phdr6_t; 69 83 70 84 #endif
Note:
See TracChangeset
for help on using the changeset viewer.