60 #ifndef _USER_IP6_VAR_H_ 61 #define _USER_IP6_VAR_H_ 63 #if defined(__Userspace_os_Windows) 67 u_int32_t ip6_un1_flow;
68 u_int16_t ip6_un1_plen;
70 u_int8_t ip6_un1_hlim;
74 struct in6_addr ip6_src;
75 struct in6_addr ip6_dst;
77 #define ip6_vfc ip6_ctlun.ip6_un2_vfc 78 #define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow 79 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen 80 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt 81 #define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim 82 #define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim 84 #define IPV6_VERSION 0x60 87 #if defined(__Userspace_os_Windows) 88 #define s6_addr16 u.Word 90 #if !defined(__Userspace_os_Windows) 91 #if !defined(__Userspace_os_Linux) 92 #define s6_addr8 __u6_addr.__u6_addr8 93 #define s6_addr16 __u6_addr.__u6_addr16 94 #define s6_addr32 __u6_addr.__u6_addr32 98 #if !defined(__Userspace_os_FreeBSD) && !defined(__Userspace_os_OpenBSD) && !defined(__Userspace_os_DragonFly) 104 struct sockaddr_in6 ro_dst;
107 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ 111 if ((m)->m_len >= (off) + (len)) \ 112 (val) = (typ)(mtod((m), caddr_t) + (off)); \ 114 t = m_pulldown((m), (off), (len), &tmp); \ 116 KASSERT(t->m_len >= tmp + (len), \ 117 ("m_pulldown malfunction")); \ 118 (val) = (typ)(mtod(t, caddr_t) + tmp); \ struct rtentry * ro_rt
Definition: user_ip6_var.h:100
struct in6_addr * ro_ia6
Definition: user_ip6_var.h:102
int ro_flags
Definition: user_ip6_var.h:103
struct llentry * ro_lle
Definition: user_ip6_var.h:101
Definition: user_ip6_var.h:99