Searched refs:IP_V (Results 1 - 19 of 19) sorted by relevance

/freebsd-10.0-release/contrib/ipfilter/lib/
H A Dprintpacket.c29 if (IP_V(ip) == 6) {
61 if (IP_V(ip) == 6) {
H A Dipft_tx.c146 if (IP_V(ip) == 6) {
/freebsd-10.0-release/contrib/tcpdump/
H A Dprint-sl.c72 switch (IP_V(ip)) {
82 printf ("ip v%d", IP_V(ip));
H A Dip.h52 #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4) macro
H A Dprint-dccp.c184 if (IP_V(ip) == 6)
239 if (IP_V(ip) == 4)
242 else if (IP_V(ip) == 6)
H A Dprint-sunrpc.c110 switch (IP_V((struct ip *)bp2)) {
H A Dprint-ip.c536 if (IP_V(ipds->ip) != 4) { /* print version if != 4 */
537 printf("IP%u ", IP_V(ipds->ip));
538 if (IP_V(ipds->ip) == 6)
689 switch (IP_V(&hdr)) {
699 (void)printf("unknown ip %d", IP_V(&hdr));
H A Dprint-tcp.c156 if (IP_V(ip) == 6)
397 if (IP_V(ip) == 4) {
411 else if (IP_V(ip) == 6 && ip6->ip6_plen) {
763 if (IP_V(ip) == 4) {
772 } else if (IP_V(ip) == 6) {
H A Dprint-udp.c310 if (IP_V(ip) == 6)
378 if (IP_V(ip) == 6)
531 if (IP_V(ip) == 4 && (vflag > 1)) {
547 else if (IP_V(ip) == 6 && ip6->ip6_plen) {
648 (IP_V(ip) == 6) ? 1 : 0);
H A Dprint-sctp.c110 if (IP_V(ip) == 6)
H A Dprint-pgm.c180 if (IP_V(ip) == 6)
185 if (IP_V(ip) == 6) {
H A Dprint-pim.c763 switch (IP_V(ip)) {
779 (void)printf("IP ver %d", IP_V(ip));
H A Dprint-nfs.c176 switch (IP_V((struct ip *)bp)) {
946 switch (IP_V((struct ip *)bp)) {
1004 if (xmep->ipver != IP_V(ip) || xmep->xid != xid)
H A Dprint-esp.c590 switch (IP_V(ip)) {
H A Dprint-isakmp.c276 switch (IP_V(ip)) {
342 switch (IP_V(ip)) {
/freebsd-10.0-release/contrib/ipfilter/tools/
H A Dipftest.c220 ifp = get_unit(iface, IP_V(ip));
222 if (IP_V(ip) == 4) {
294 if (dir && (ifp != NULL) && IP_V(ip) && (m != NULL))
819 if (IP_V(ip) == 4) {
827 } else if (IP_V(ip) == 6) {
/freebsd-10.0-release/contrib/ipfilter/ipsend/
H A Dip.c133 if (!IP_V(ip))
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/
H A Dip_compat.h710 #ifndef IP_V
711 # define IP_V(x) (x)->ip_v macro
H A Dfil.c2827 int v = IP_V(ip);
3425 if (IP_V(ip) == 4) {
3435 } else if (IP_V(ip) == 6) {
8522 if (IP_V(ip) == 4)
8525 else if (IP_V(ip) == 6)
8536 if (IP_V(ip) == 4) {

Completed in 188 milliseconds