Go to the documentation of this file.
24 #include <sys/cdefs.h>
28 #include <sys/queue.h>
178 #define NETIF_NO_FLAGS 0x00000000
179 #define NETIF_REGISTERED 0x00000001
180 #define NETIF_DETECTED 0x00000002
181 #define NETIF_INITIALIZED 0x00000004
182 #define NETIF_RUNNING 0x00000008
183 #define NETIF_PROMISC 0x00010000
184 #define NETIF_NEEDSPOLL 0x01000000
188 #define NETIF_TX_OK 0
189 #define NETIF_TX_ERROR -1
190 #define NETIF_TX_AGAIN -2
193 #define NETIF_NOBLOCK 0
194 #define NETIF_BLOCK 1
204 #define PACKED __attribute__((packed))
382 #define ICMP_PROTOCOL_UNREACHABLE 2
383 #define ICMP_PORT_UNREACHABLE 3
395 #define ICMP_REASSEMBLY_TIME_EXCEEDED 1
479 const struct in6_addr *target,
int dupdet);
489 const struct in6_addr *target,
int sol);
498 #define ICMP6_DEST_UNREACH_NO_ROUTE 0
499 #define ICMP6_DEST_UNREACH_PROHIBITED 1
500 #define ICMP6_DEST_UNREACH_BEYOND_SCOPE 2
501 #define ICMP6_DEST_UNREACH_ADDR_UNREACH 3
502 #define ICMP6_DEST_UNREACH_PORT_UNREACH 4
503 #define ICMP6_DEST_UNREACH_FAIL_EGRESS 5
504 #define ICMP6_DEST_UNREACH_BAD_ROUTE 6
517 #define ICMP6_TIME_EXCEEDED_HOPS_EXC 0
518 #define ICMP6_TIME_EXCEEDED_FRAGMENT 1
531 #define ICMP6_PARAM_PROB_BAD_HEADER 0
532 #define ICMP6_PARAM_PROB_UNK_HEADER 1
533 #define ICMP6_PARAM_PROB_UNK_OPTION 2
544 const uint8 *ppkt,
int psz);