Home
last modified time | relevance | path

Searched refs:IP_V (Results 1 – 13 of 13) sorted by relevance

/external/tcpdump/
Dprint-sl.c84 switch (IP_V(ip)) { in sl_if_print()
92 ND_PRINT((ndo, "ip v%d", IP_V(ip))); in sl_if_print()
Dprint-udp.c321 if (IP_V(ip) == 6) in udpipaddr_print()
384 if (IP_V(ip) == 6) in udp_print()
541 if (IP_V(ip) == 4 && (ndo->ndo_vflag > 1)) { in udp_print()
556 else if (IP_V(ip) == 6 && ip6->ip6_plen) { in udp_print()
654 (IP_V(ip) == 6) ? 1 : 0); in udp_print()
Dprint-tcp.c178 if (IP_V(ip) == 6) in tcp_print()
372 if (IP_V(ip) == 4) { in tcp_print()
384 } else if (IP_V(ip) == 6 && ip6->ip6_plen) { in tcp_print()
863 if (IP_V(ip) == 4) { in tcp_verify_signature()
871 } else if (IP_V(ip) == 6) { in tcp_verify_signature()
Dprint-dccp.c283 if (IP_V(ip) == 6) in dccp_print()
345 if (IP_V(ip) == 4) in dccp_print()
347 else if (IP_V(ip) == 6) in dccp_print()
Dip.h54 #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4) macro
Dprint-ip.c548 if (IP_V(ipds->ip) != 4) { /* print version and fail if != 4 */ in ip_print()
549 if (IP_V(ipds->ip) == 6) in ip_print()
552 ND_PRINT((ndo, "IP%u ", IP_V(ipds->ip))); in ip_print()
Dprint-pim.c675 if (IP_V(ip) == 4) { in pimv2_check_checksum()
682 } else if (IP_V(ip) == 6) { in pimv2_check_checksum()
888 switch (IP_V(ip)) { in pimv2_print()
905 ND_PRINT((ndo, "IP ver %d", IP_V(ip))); in pimv2_print()
Dprint-sunrpc.c189 switch (IP_V((const struct ip *)bp2)) { in sunrpcrequest_print()
Dprint-nfs.c210 switch (IP_V((const struct ip *)bp)) { in print_nfsaddr()
875 switch (IP_V((const struct ip *)bp)) { in xid_map_enter()
928 if (xmep->ipver != IP_V(ip) || xmep->xid != xid) in xid_map_find()
Dprint-sctp.c522 if (IP_V(ip) == 6) in sctp_print()
Dprint-esp.c705 switch (IP_V(ip)) { in esp_print()
Dprint-pgm.c162 if (IP_V(ip) == 6) in pgm_print()
Dprint-isakmp.c792 switch (IP_V(ip)) { in cookie_record()
820 switch (IP_V(ip)) { in cookie_sidecheck()