Home
last modified time | relevance | path

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

12

/xnu-10063.141.1/bsd/net/
H A Dpacket_mangler.c722 if ((p_pkt_mnglr->lsaddr.ss_family == AF_INET6) && (ip.ip_v == 4)) { in pktmnglr_ipfilter_output()
726 if ((p_pkt_mnglr->lsaddr.ss_family == AF_INET) && (ip.ip_v == 6)) { in pktmnglr_ipfilter_output()
744 if (ip.ip_v != 4) { in pktmnglr_ipfilter_output()
747 __func__, __LINE__, ip.ip_v); in pktmnglr_ipfilter_output()
794 if (ip.ip_v == 6) { in pktmnglr_ipfilter_input()
802 if ((p_pkt_mnglr->lsaddr.ss_family == AF_INET6) && (ip.ip_v == 4)) { in pktmnglr_ipfilter_input()
808 if ((p_pkt_mnglr->lsaddr.ss_family == AF_INET) && (ip.ip_v == 6)) { in pktmnglr_ipfilter_input()
841 if (ip.ip_v == 4) { in pktmnglr_ipfilter_input()
843 } else if (ip.ip_v == 6) { in pktmnglr_ipfilter_input()
1048 if (ip->ip_v != 4) { in chksm_update()
H A Dif_ipsec.c710 u_int ip_version = ip->ip_v; in ipsec_encrypt_mbuf()
1063 u_int ip_vers = ip->ip_v; in ipsec_encrypt_kpipe_pkt()
1414 u_int ip_version = ip->ip_v; in ipsec_netif_check_policy()
1775 u_int ip_version = ip->ip_v; in ipsec_netif_sync_rx_mbuf()
2006 u_int ip_version = ip->ip_v; in ipsec_netif_sync_rx_mbuf()
2228 u_int ip_vers = ip->ip_v; in ipsec_transform_kpipe_pkt_to_netif_pkt()
2383 u_int ip_version = ip->ip_v; in ipsec_netif_sync_rx_packet()
4504 ip_version = ip->ip_v; in ipsec_output()
4736 ip_version = ip->ip_v; in ipsec_demux()
4870 if (ip->ip_v == 4) { in ipsec_proto_input()
[all …]
H A Dnat464_utils.c512 ip4->ip_v = IPVERSION; in nat464_translate_icmp_ip()
668 ip4->ip_v = 4; in nat464_translate_64()
H A Dif_stf.c402 if (ip.ip_v != 4) { in stf_encapcheck()
H A Dif_gif.c526 switch (ip.ip_v) { in gif_encapcheck()
H A Dif_redirect.c1808 ip_version = ip->ip_v; in redirect_demux()
/xnu-10063.141.1/bsd/netinet/
H A Dip.h96 ip_v:4; /* version */
99 u_int ip_v:4, /* version */
H A Dtcp_debug.c120 isipv6 = (ipgen != NULL && ((struct ip *)ipgen)->ip_v == 6) ? 1 : 0;
H A Dip_compat.h564 __u8 ip_v:4;
567 __u8 ip_v:4;
H A Dtcp_log.c688 isipv6 = (((struct ip *)hdr)->ip_v == 6); in tcp_log_pkt_addresses()
H A Dudp_usrreq.c3019 ip->ip_v = IPVERSION; in udp_fill_keepalive_offload_frames()
H A Dtcp_input.c1974 isipv6 = (mtod(m, struct ip *)->ip_v == 6) ? 1 : 0; in tcp_input()
2051 ip->ip_v = IPVERSION; in tcp_input()
/xnu-10063.141.1/bsd/net/classq/
H A Dclassq_util.c118 if (ip->ip_v != 4) { in read_dsfield()
171 if (ip->ip_v != 4) { in write_dsfield()
255 if (ip->ip_v != 4) { in mark_ecn()
/xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/
H A Dfsw_cellular.c64 (iph->ip_v == IPVERSION)) { in fsw_cellular_demux()
H A Dfsw_ip.c63 (iph->ip_v == IPVERSION)) { in fsw_ip_demux()
/xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_route.c1373 _flow_route_laddr_validate(struct flow_ip_addr *src_ip0, uint8_t ip_v, in _flow_route_laddr_validate() argument
1382 VERIFY(ip_v == IPVERSION || ip_v == IPV6_VERSION); in _flow_route_laddr_validate()
1384 if (ip_v == IPVERSION) { in _flow_route_laddr_validate()
1411 if (ip_v == IPV6_VERSION) { in _flow_route_laddr_validate()
H A Dflow_classifier.c216 CL_SKIP_ON(iph->ip_v != IPVERSION); in flow_pkt_classify()
H A Dflow_track.c870 ip->ip_v = IPVERSION; in flow_track_abort_tcp()
1009 ip->ip_v = IPVERSION; in flow_track_abort_quic()
H A Dflow_agg.c119 .ip_v = 0xf,
1020 ASSERT(siph->ip_v == IPVERSION); in can_agg_slowpath()
/xnu-10063.141.1/osfmk/kdp/
H A Dkdp_udp.c170 #define ip_v ip_vhltl.ip_x.ip_xv macro
589 ip->ip_v = IPVERSION; in kdp_reply()
666 ip->ip_v = IPVERSION; in kdp_send()
1556 ip->ip_v = IPVERSION; in create_panic_header()
/xnu-10063.141.1/tests/
H A Dnet_test_lib.c123 ip_udp->ip.ip_v = IPVERSION; in ethernet_udp4_frame_populate()
H A Dipsec.m480 ipheader->ip_v = IPVERSION;
H A Dnet_bridge.c732 T_ASSERT_EQ((u_int)ip_udp->ip.ip_v, IPVERSION, NULL); in ip_frame_validate()
1008 T_ASSERT_EQ((int)ip_udp->ip.ip_v, IPVERSION, NULL); in ethernet_frame_get_udp4_payload()
/xnu-10063.141.1/bsd/skywalk/nexus/
H A Dnexus_traffic_rule.c377 ipv = iph->ip_v; in fill_inet_td()
/xnu-10063.141.1/bsd/netinet6/
H A Dipsec.c1175 v = ip->ip_v; in ipsec_setspidx()
2514 ip->ip_v = IPVERSION; in ipsec64_encapsulate()
5394 ip->ip_v = IPVERSION; in ipsec_fill_offload_frame()

12