Changes in uspace/srv/net/udp/std.h [1d24ad3:69a93df7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/std.h
r1d24ad3 r69a93df7 40 40 #include <sys/types.h> 41 41 42 #define IP_PROTO_UDP 42 #define IP_PROTO_UDP 17 43 43 44 44 /** UDP Header */ … … 54 54 } udp_header_t; 55 55 56 /** UDP IPv4pseudo header */56 /** UDP pseudo header */ 57 57 typedef struct { 58 58 /** Source address */ … … 64 64 /** Protocol */ 65 65 uint8_t protocol; 66 /** UDP length */66 /** TCP 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;83 69 84 70 #endif
Note:
See TracChangeset
for help on using the changeset viewer.