Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-ip.c530 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()
Dprint-udp.c308 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()
Dprint-dccp.c184 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()
Dprint-sl.c70 switch (IP_V(ip)) { in sl_if_print()
80 printf ("ip v%d", IP_V(ip)); in sl_if_print()
Dprint-tcp.c172 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) {
Dip.h52 #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4) macro
Dprint-sunrpc.c108 switch (IP_V((struct ip *)bp2)) { in sunrpcrequest_print()
Dprint-pgm.c180 if (IP_V(ip) == 6) in pgm_print()
185 if (IP_V(ip) == 6) { in pgm_print()
Dprint-pim.c759 switch (IP_V(ip)) { in pimv2_print()
775 (void)printf("IP ver %d", IP_V(ip)); in pimv2_print()
Dprint-sctp.c110 if (IP_V(ip) == 6) in sctp_print()
Dprint-nfs.c174 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()
Dprint-esp.c601 switch (IP_V(ip)) { in esp_print()
Dprint-isakmp.c282 switch (IP_V(ip)) { in cookie_record()
348 switch (IP_V(ip)) { in cookie_sidecheck()