Searched refs:ip_v (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-10.0-release/contrib/ipfilter/lib/
H A Dprintiphdr.c17 ip->ip_v, ip->ip_hl, ntohs(ip->ip_len), ip->ip_tos,
/freebsd-10.0-release/sys/netinet/
H A Dip.h52 ip_v:4; /* version */ member in struct:ip
55 u_char ip_v:4, /* version */ member in struct:ip
H A Dtcp_debug.c113 isipv6 = (ipgen != NULL && ((struct ip *)ipgen)->ip_v == 6) ? 1 : 0;
H A Dip_divert.c375 switch (ip->ip_v) {
447 switch (ip->ip_v) {
485 switch (ip->ip_v) {
H A Dtcp_subr.c486 ip->ip_v = IPVERSION;
560 isipv6 = ((struct ip *)ipgen)->ip_v == (IPV6_VERSION >> 4);
1969 switch (ip->ip_v) {
1997 (ip->ip_v == IPVERSION) ? inet_ntoa(dst.sin.sin_addr) :
1999 (ip->ip_v == (IPV6_VERSION >> 4)) ?
2016 switch (ip->ip_v) {
H A Dip_fastfwd.c212 if (ip->ip_v != IPVERSION) {
H A Dip_output.c194 ip->ip_v = IPVERSION;
809 mhip->ip_v = IPVERSION;
/freebsd-10.0-release/cddl/lib/libdtrace/
H A Dip.d226 ip_ver = p == NULL ? 0 : ((struct ip *)p)->ip_v;
228 ((struct ip *)p)->ip_v == 4 ?
232 ((struct ip *)p)->ip_v == 4 ?
236 ((struct ip *)p)->ip_v == 4 ?
253 ipv4_ver = p == NULL ? 0 : p->ip_v;
/freebsd-10.0-release/contrib/ipfilter/ipsd/Celler/
H A Dip_compat.h163 __u8 ip_v:4; member in struct:__anon1497
166 __u8 ip_v:4;
/freebsd-10.0-release/contrib/ipfilter/ipsend/.OLD/
H A Dip_compat.h165 __u8 ip_v:4; member in struct:__anon1504
168 __u8 ip_v:4;
/freebsd-10.0-release/lib/libstand/
H A Dudp.c90 ip->ip_v = IPVERSION; /* half-char */
182 if (ip->ip_v != IPVERSION ||
186 printf("readudp: IP version or not UDP. ip_v=%d ip_p=%d\n", ip->ip_v, ip->ip_p);
/freebsd-10.0-release/sbin/natd/
H A Dicmp.c96 ip->ip_v = 4;
/freebsd-10.0-release/sys/netgraph/
H A Dng_ipfw.c252 switch (ip->ip_v) {
265 switch (ip->ip_v) {
H A Dng_tcpmss.c305 if (ip->ip_v != IPVERSION)
/freebsd-10.0-release/sys/netpfil/ipfw/
H A Dip_fw_pfil.c226 if (mtod(*m0, struct ip *)->ip_v == 4)
228 else if (mtod(*m0, struct ip *)->ip_v == 6)
430 if (!tee) switch (ip->ip_v) {
H A Dip_fw_log.c262 if (ip->ip_v == 4)
264 else if (ip->ip_v == 6)
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dport-tun.c223 switch (iph->ip_v) {
/freebsd-10.0-release/sbin/dhclient/
H A Dpacket.c117 ip.ip_v = 4;
/freebsd-10.0-release/sys/net/
H A Dif_enc.c271 switch (ip->ip_v) {
/freebsd-10.0-release/contrib/ipfilter/
H A Dmli_ipl.c186 if (ip->ip_v != IPVERSION) {
189 printf("IP Filter: ipl_if_output: bad ip_v m_type=%d m_flags=0x%lx m_off=0x%lx\n", m->m_type, (u_long)m->m_flags, m->m_off);
267 if (ip->ip_v != IPVERSION) {
269 printf("IP Filter: ipl_kernel: bad ip_v\n");
/freebsd-10.0-release/sys/netipsec/
H A Dxform_ipip.c214 if (ipo->ip_v == IPVERSION && ipo->ip_p == IPPROTO_IPV4) {
466 ipo->ip_v = IPVERSION;
/freebsd-10.0-release/tools/tools/net80211/wesside/dics/
H A Ddics.c239 iph->ip_v = 4;
/freebsd-10.0-release/sys/netgraph/netflow/
H A Dng_netflow.c755 if (ip->ip_v == IP6VERSION) {
770 if ((ip->ip_v != IPVERSION) ||
805 if ((ip->ip_v != IPVERSION) ||
/freebsd-10.0-release/contrib/openbsm/test/bsm/
H A Dgenerate.c678 ip_token_ip.ip_v = ip_token_ip_v;
701 ip_token_ip.ip_v = ip_token_ip_v;
/freebsd-10.0-release/sys/contrib/altq/altq/
H A Daltq_red.c543 switch (((struct ip *)hdr)->ip_v) {
550 if (ip->ip_v != 4)

Completed in 121 milliseconds

123