Changes in uspace/srv/net/inetsrv/inet_std.h [b4ec1ea:1d24ad3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inet_std.h
rb4ec1ea r1d24ad3 40 40 #include <sys/types.h> 41 41 42 /** I nternetDatagram header (fixed part) */42 /** IPv4 Datagram header (fixed part) */ 43 43 typedef struct { 44 44 /** Version, Internet Header Length */ … … 90 90 }; 91 91 92 /** IPv6 Datagram header (fixed part) */ 93 typedef struct { 94 /** Version, Traffic class first 4 bits */ 95 uint8_t ver_tc; 96 /** Traffic class (the rest), Flow label */ 97 uint8_t tc_fl[3]; 98 /* Payload length */ 99 uint16_t payload_len; 100 /** Next header */ 101 uint8_t next; 102 /** Hop limit */ 103 uint8_t hop_limit; 104 /** Source address */ 105 uint8_t src_addr[16]; 106 /** Destination address */ 107 uint8_t dest_addr[16]; 108 } ip6_header_t; 109 110 /** IPv6 Datagram Fragment extension header */ 111 typedef struct { 112 /** Next header */ 113 uint8_t next; 114 /** Reserved */ 115 uint8_t reserved; 116 /** Fragment Offset, Flags */ 117 uint16_t foff_flags; 118 /** Identification */ 119 uint32_t id; 120 } ip6_header_fragment_t; 121 92 122 /** Fragment offset is expressed in units of 8 bytes */ 93 123 #define FRAG_OFFS_UNIT 8
Note:
See TracChangeset
for help on using the changeset viewer.