Changes in uspace/srv/net/inetsrv/icmpv6_std.h [12df1f1:1d24ad3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/icmpv6_std.h
r12df1f1 r1d24ad3 47 47 #define INET6_HOP_LIMIT_MAX 255 48 48 49 #define NDP_FLAG_ROUTER 0x8050 #define NDP_FLAG_OVERRIDE 0x4051 #define NDP_FLAG_SOLICITED 0x2052 53 49 /** ICMPv6 message type */ 54 50 enum icmpv6_type { … … 87 83 uint8_t flags; 88 84 /** Reserved bytes */ 89 uint8_t reserved [3];85 uint8_t reserved [3]; 90 86 } ndp; 91 87 } un; … … 95 91 typedef struct { 96 92 /** Source IPv6 address */ 97 uint8_t src_addr [16];93 uint8_t src_addr [16]; 98 94 /** Target IPv6 address */ 99 uint8_t dest_addr [16];95 uint8_t dest_addr [16]; 100 96 /** ICMPv6 length */ 101 97 uint32_t length; 102 98 /** Zeroes */ 103 uint8_t zeroes [3];99 uint8_t zeroes [3]; 104 100 /** Next header */ 105 101 uint8_t next; 106 } icmpv6_p hdr_t;102 } icmpv6_pseudo_header; 107 103 108 104 /** NDP neighbour body */ 109 105 typedef struct { 110 106 /** Target IPv6 address */ 111 uint8_t target_address [16];107 uint8_t target_address [16]; 112 108 /** Option code */ 113 109 uint8_t option; … … 115 111 uint8_t length; 116 112 /** MAC address */ 117 uint8_t mac [6];113 uint8_t mac [6]; 118 114 } ndp_message_t; 119 115 … … 135 131 uint32_t reserved; 136 132 /** Prefix */ 137 uint8_t prefix [16];133 uint8_t prefix [16]; 138 134 } ndp_prefix_t; 139 135
Note:
See TracChangeset
for help on using the changeset viewer.