Changes in uspace/srv/net/tcp/std.h [69a93df7:1d24ad3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/std.h
r69a93df7 r1d24ad3 39 39 40 40 #include <sys/types.h> 41 #include <inet/addr.h> 42 43 #define IP_PROTO_TCP 6 41 44 42 45 /** TCP Header (fixed part) */ … … 72 75 }; 73 76 74 /** TCP pseudo header */77 /** TCP IPv4 pseudo header */ 75 78 typedef struct { 76 79 /** Source address */ 77 uint32_t src _addr;80 uint32_t src; 78 81 /** Destination address */ 79 uint32_t dest _addr;82 uint32_t dest; 80 83 /** Zero */ 81 84 uint8_t zero; … … 85 88 uint16_t tcp_length; 86 89 } tcp_phdr_t; 90 91 /** TCP IPv6 pseudo header */ 92 typedef struct { 93 /** Source address */ 94 addr128_t src; 95 /** Destination address */ 96 addr128_t dest; 97 /** TCP length */ 98 uint32_t tcp_length; 99 /** Zeroes */ 100 uint8_t zero[3]; 101 /** Next header */ 102 uint8_t next; 103 } tcp_phdr6_t; 87 104 88 105 /** Option kind */
Note:
See TracChangeset
for help on using the changeset viewer.