Home
last modified time | relevance | path

Searched refs:ip_v (Results 1 – 25 of 89) sorted by relevance

1234

/freebsd/cddl/lib/libdtrace/
H A Dip.d227 ip_ver = p == NULL ? 0 : ((struct ip *)p)->ip_v;
229 ((struct ip *)p)->ip_v == 4 ?
233 ((struct ip *)p)->ip_v == 4 ?
237 ((struct ip *)p)->ip_v == 4 ?
244 ip_ver = m == NULL ? 0 : ((struct ip *)m->m_data)->ip_v;
246 ((struct ip *)m->m_data)->ip_v == 4 ?
251 ((struct ip *)m->m_data)->ip_v == 4 ?
255 ((struct ip *)m->m_data)->ip_v == 4 ?
272 ipv4_ver = p == NULL ? 0 : p->ip_v;
/freebsd/sys/netinet/
H A Dip.h52 ip_v:4; /* version */ member
55 u_char ip_v:4, /* version */ member
/freebsd/usr.sbin/ppp/
H A Dtcpmss.c167 switch (pip->ip_v) { in tcpmss_Check()
212 log_Printf(LogDEBUG, "tcpmss_Check: Unknown IP family %u\n", pip->ip_v); in tcpmss_Check()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_bpf.c149 if (ip->ip_v == 4) in ipfw_bpf_tap()
151 else if (ip->ip_v == 6) in ipfw_bpf_tap()
/freebsd/sbin/ipf/libipf/
H A Dprintiphdr.c16 ip->ip_v, ip->ip_hl, ntohs(ip->ip_len), ip->ip_tos, in printiphdr()
/freebsd/sys/netgraph/
H A Dng_ipfw.c251 switch (ip->ip_v) { in ng_ipfw_rcvdata()
264 switch (ip->ip_v) { in ng_ipfw_rcvdata()
H A Dng_tcpmss.c310 if (ip->ip_v != IPVERSION) in ng_tcpmss_rcvdata()
/freebsd/sys/net/
H A Ddebugnet_inet.c107 if (ip->ip_v != IPVERSION) { in debugnet_handle_ip()
108 DNETDEBUG("bad IP version %d\n", ip->ip_v); in debugnet_handle_ip()
489 ip->ip_v = IPVERSION; in debugnet_ip_output()
/freebsd/stand/libsa/
H A Dip.c103 ip->ip_v = IPVERSION; /* half-char */ in sendip()
435 if (ip->ip_v == IPVERSION && /* half char */ in readip()
454 __func__, ip->ip_v, ip->ip_p)); in readip()
/freebsd/sbin/natd/
H A Dicmp.c93 ip->ip_v = 4; in SendNeedFragIcmp()
/freebsd/tests/sys/netinet/libalias/
H A Dutil.c101 p->ip_v = IPVERSION; in ip_packet()
/freebsd/sys/net/altq/
H A Daltq_red.c461 switch (((struct ip *)hdr)->ip_v) { in mark_ecn()
468 if (ip->ip_v != 4) in mark_ecn()
H A Daltq_subr.c767 if (ip->ip_v != 4) in read_dsfield()
813 if (ip->ip_v != 4) in write_dsfield()
1027 if (ip->ip_v != 4)
/freebsd/tests/sys/netinet/
H A Draw.c139 .ip.ip_v = IPVERSION, in ATF_TC_BODY()
250 .ip.ip_v = IPVERSION, in ATF_TC_BODY()
H A Dip_reass_test.c94 ip->ip_v = 4; in alloc_lopacket()
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c187 switch (ip4->ip_v) { in nat64_direct_output_one()
237 switch (ip4->ip_v) { in nat64_output()
514 ip->ip_v = IPVERSION; in nat64_init_ip4hdr()
842 oip->ip_v = IPVERSION; in nat64_icmp_reflect()
1047 if (ip.ip_v != IPVERSION) { in nat64_icmp_translate()
1048 DPRINTF(DP_DROPS, "Wrong IP version %d", ip.ip_v); in nat64_icmp_translate()
/freebsd/sys/netgraph/netflow/
H A Dng_netflow.c767 if (ip->ip_v == IP6VERSION) { in ng_netflow_rcvdata()
787 if ((ip->ip_v != IPVERSION) || in ng_netflow_rcvdata()
826 if ((ip->ip_v != IPVERSION) || in ng_netflow_rcvdata()
/freebsd/contrib/wpa/src/common/
H A Ddhcp.h18 #define verson ip_v
/freebsd/sbin/dhclient/
H A Dpacket.c117 ip.ip_v = 4; in assemble_udp_ip_header()
/freebsd/crypto/openssh/openbsd-compat/
H A Dport-net.c332 af = iph.ip_v == 6 ? OPENBSD_AF_INET6 : OPENBSD_AF_INET; in sys_tun_infilter()
/freebsd/sys/netipsec/
H A Dxform_tcp.c238 switch (ip->ip_v) { in setsockaddrs()
/freebsd/contrib/netbsd-tests/net/icmp/
H A Dt_ping.c386 ip->ip_v = 4; in ATF_TC_BODY()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_listen.c861 if (ip->ip_v == IPVERSION) in t4_syncache_respond()
1191 if (((struct ip *)l3hdr)->ip_v == IPVERSION) { in pass_accept_req_to_protohdrs()
1197 if (((struct ip *)l3hdr)->ip_v == (IPV6_VERSION >> 4)) { in pass_accept_req_to_protohdrs()
1208 if (((struct ip *)l3hdr)->ip_v == IPVERSION) { in pass_accept_req_to_protohdrs()
/freebsd/tools/tools/net80211/wesside/dics/
H A Ddics.c237 iph->ip_v = 4; in send_stuff()
/freebsd/contrib/openbsm/test/bsm/
H A Dgenerate.c676 ip_token_ip.ip_v = ip_token_ip_v; in generate_ip_token()
699 ip_token_ip.ip_v = ip_token_ip_v; in generate_ip_record()

1234