Searched refs:ip6_ctlun (Results 1 – 3 of 3) sorted by relevance
88 ip_ver = (ip6 != NULL) ? (ip6->ip6_ctlun.ip6_un2_vfc & 0xf0) >> 4 : 0;89 ip_plength = (ip6 != NULL) ? (ntohs(ip6->ip6_ctlun.ip6_un1.ip6_un1_plen)) : 0;106 ntohs(((struct ip6_hdr *)i)->ip6_ctlun.ip6_un1.ip6_un1_plen) : 0)) : 0;203 ipv6_ver = (ip6 != NULL) ? ip6->ip6_ctlun.ip6_un2_vfc : 10;204 ipv6_tclass = (ip6 != NULL) ? (ip6->ip6_ctlun.ip6_un1.ip6_un1_flow & 0x0ff00000) >> 20 : 0;205 ipv6_flow = (ip6 != NULL) ? (ip6->ip6_ctlun.ip6_un1.ip6_un1_flow & 0x000fffff) : 0;206 ipv6_plen = (ip6 != NULL) ? ntohs(ip6->ip6_ctlun.ip6_un1.ip6_un1_plen) : 0;207 ipv6_nexthdr = (ip6 != NULL) ? ip6->ip6_ctlun.ip6_un1.ip6_un1_nxt : 0;209 (ip6->ip6_ctlun.ip6_un1.ip6_un1_nxt == 1) ? "ICMP" :210 (ip6->ip6_ctlun.ip6_un1.ip6_un1_nxt == 2) ? "IGMP" :[all …]
119 } ip6_ctlun; member124 #define ip6_vfc ip6_ctlun.ip6_un2_vfc125 #define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow126 #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen127 #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt128 #define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim129 #define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim
168 .ip6_ctlun.ip6_un1.ip6_un1_flow = 0xffffffff,170 .ip6_ctlun.ip6_un1.ip6_un1_plen = 0,171 .ip6_ctlun.ip6_un1.ip6_un1_nxt = 0xff,172 .ip6_ctlun.ip6_un1.ip6_un1_hlim = 0xff,