Searched refs:IP_V (Results 1 – 13 of 13) sorted by relevance
530 if (IP_V(ipds->ip) != 4) { /* print version if != 4 */ in ip_print()531 printf("IP%u ", IP_V(ipds->ip)); in ip_print()532 if (IP_V(ipds->ip) == 6) in ip_print()682 switch (IP_V(&hdr)) { in ipN_print()692 (void)printf("unknown ip %d", IP_V(&hdr)); in ipN_print()
308 if (IP_V(ip) == 6) in udpipaddr_print()376 if (IP_V(ip) == 6) in udp_print()539 if (IP_V(ip) == 4 && (vflag > 1)) { in udp_print()555 else if (IP_V(ip) == 6 && ip6->ip6_plen) { in udp_print()656 (IP_V(ip) == 6) ? 1 : 0); in udp_print()
184 if (IP_V(ip) == 6) in dccp_print()239 if (IP_V(ip) == 4) in dccp_print()242 else if (IP_V(ip) == 6) in dccp_print()
70 switch (IP_V(ip)) { in sl_if_print()80 printf ("ip v%d", IP_V(ip)); in sl_if_print()
172 if (IP_V(ip) == 6)375 if (IP_V(ip) == 4) {389 else if (IP_V(ip) == 6 && ip6->ip6_plen) {818 if (IP_V(ip) == 4) {827 } else if (IP_V(ip) == 6) {
52 #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4) macro
108 switch (IP_V((struct ip *)bp2)) { in sunrpcrequest_print()
180 if (IP_V(ip) == 6) in pgm_print()185 if (IP_V(ip) == 6) { in pgm_print()
759 switch (IP_V(ip)) { in pimv2_print()775 (void)printf("IP ver %d", IP_V(ip)); in pimv2_print()
110 if (IP_V(ip) == 6) in sctp_print()
174 switch (IP_V((struct ip *)bp)) { in print_nfsaddr()979 switch (IP_V((struct ip *)bp)) { in xid_map_enter()1037 if (xmep->ipver != IP_V(ip) || xmep->xid != xid) in xid_map_find()
601 switch (IP_V(ip)) { in esp_print()
282 switch (IP_V(ip)) { in cookie_record()348 switch (IP_V(ip)) { in cookie_sidecheck()