Home
last modified time | relevance | path

Searched refs:IPH_HDR_VERSION (Results 1 – 25 of 34) sorted by relevance

12

/titanic_44/usr/src/uts/common/ipp/dscpmk/
H A Ddscpmk.c98 if (IPH_HDR_VERSION(ipha) == IPV4_VERSION) { in dscpmk_process()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dipdrop.c318 if (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION) { in ip_drop_input()
340 if (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION) { in ip_drop_output()
H A Dip_sadb.c605 ASSERT(IPH_HDR_VERSION(ipha) == IPV4_VERSION); in ipsec_outbound_sa()
621 ASSERT(IPH_HDR_VERSION(ip6h) == IPV6_VERSION); in ipsec_outbound_sa()
H A Dtnet.c1042 if (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION) { in tsol_can_accept_raw()
1135 ASSERT(MBLKL(mp) >= (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION ? in tsol_can_reply_error()
1157 if (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION) { in tsol_can_reply_error()
1481 if (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION) { in tsol_ip_forward()
H A Dspd.c5289 if (IPH_HDR_VERSION(oiph) == IPV4_VERSION) { in ipsec_tun_outbound()
5294 ASSERT(IPH_HDR_VERSION(oiph) == IPV6_VERSION); in ipsec_tun_outbound()
6302 if (IPH_HDR_VERSION(iph) == IPV4_VERSION) { in ipsec_fragcache_add()
6305 ASSERT(IPH_HDR_VERSION(iph) == IPV6_VERSION); in ipsec_fragcache_add()
6499 if (IPH_HDR_VERSION(oniph) == IPV4_VERSION) { in ipsec_fragcache_add()
6504 ASSERT(IPH_HDR_VERSION(oniph) == IPV6_VERSION); in ipsec_fragcache_add()
6709 if (IPH_HDR_VERSION(oiph) == IPV4_VERSION) { in ipsec_fragcache_add()
6714 ASSERT(IPH_HDR_VERSION(oiph) == IPV6_VERSION); in ipsec_fragcache_add()
H A Dicmp.c1156 if (IPH_HDR_VERSION(ipha) != IPV4_VERSION) { in icmp_icmp_input()
1157 ASSERT(IPH_HDR_VERSION(ipha) == IPV6_VERSION); in icmp_icmp_input()
1161 ASSERT(IPH_HDR_VERSION(ipha) == IPV4_VERSION); in icmp_icmp_input()
2602 ASSERT(IPH_HDR_VERSION(rptr) == IPV4_VERSION); in icmp_input()
2701 ASSERT(IPH_HDR_VERSION(rptr) == IPV6_VERSION); in icmp_input()
H A Dip6_output.c124 ASSERT(IPH_HDR_VERSION(ip6h) == IPV6_VERSION); in ip_output_simple_v6()
H A Dsadb.c4919 if (IPH_HDR_VERSION(ipha) == IP_VERSION) {
4926 ASSERT(IPH_HDR_VERSION(ipha) == IPV6_VERSION);
7503 ASSERT(IPH_HDR_VERSION(ipha) == IPV4_VERSION);
7510 ASSERT(IPH_HDR_VERSION(ipha) == IPV4_VERSION);
7515 ASSERT(IPH_HDR_VERSION(ip6h) == IPV6_VERSION);
7522 ASSERT(IPH_HDR_VERSION(ip6h) == IPV6_VERSION);
H A Dipsecesp.c1909 if (IPH_HDR_VERSION(ipha) == IP_VERSION && in esp_kcf_callback_outbound()
2690 ASSERT(IPH_HDR_VERSION(ipha) == IPV4_VERSION); in esp_outbound()
2699 ASSERT(IPH_HDR_VERSION(ipha) == IPV6_VERSION); in esp_outbound()
H A Dip_input.c317 if (IPH_HDR_VERSION(ipha) != IPV4_VERSION) { in ip_input_common_v4()
2949 if ((IPH_HDR_VERSION(inner_ipha) != IPV4_VERSION)) { in ip_fanout_v4()
/titanic_44/usr/src/uts/common/ipp/meters/
H A Dtswtcl.c99 if (IPH_HDR_VERSION(ipha) == IPV4_VERSION) { in tswtcl_process()
H A Dtokenmt.c109 if (IPH_HDR_VERSION(ipha) == IPV4_VERSION) { in tokenmt_process()
/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_heartbeat.c57 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_return_heartbeat()
H A Dsctp_error.c190 isv4 = (IPH_HDR_VERSION(inmp->b_rptr) == IPV4_VERSION); in sctp_send_abort()
342 isv4 = (IPH_HDR_VERSION(inmp->b_rptr) == IPV4_VERSION); in sctp_ootb_send_abort()
H A Dsctp_shutdown.c242 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_ootb_shutdown_ack()
H A Dsctp_cookie.c505 isv4 = (IPH_HDR_VERSION(initmp->b_rptr) == IPV4_VERSION); in sctp_send_initack()
968 if (IPH_HDR_VERSION(iackmp->b_rptr) == IPV4_VERSION) in sctp_send_cookie_echo()
1453 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_addrlist2sctp()
H A Dsctp_common.c398 isv4 = (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION); in sctp_set_iplen()
1277 isv4 = (IPH_HDR_VERSION(pkt->b_rptr) == IPV4_VERSION); in sctp_get_addrparams()
1526 isv4 = (IPH_HDR_VERSION(pkt->b_rptr) == IPV4_VERSION); in sctp_secure_restart_check()
H A Dsctp.c1096 if (IPH_HDR_VERSION(ipha) != IPV4_VERSION) { in sctp_icmp_error()
1097 ASSERT(IPH_HDR_VERSION(ipha) == IPV6_VERSION); in sctp_icmp_error()
/titanic_44/usr/src/uts/common/ipp/ipgpc/
H A Dclassifierddi.c437 if (IPH_HDR_VERSION(ipha) == IPV4_VERSION) { in ipgpc_invoke_action()
/titanic_44/usr/src/uts/common/inet/tcp/
H A Dtcp_tpi.c441 if (IPH_HDR_VERSION(iphdr) == IPV4_VERSION) { in tcp_conn_con()
463 ASSERT(IPH_HDR_VERSION(iphdr) == IPV6_VERSION); in tcp_conn_con()
H A Dtcp_output.c2520 if (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION) { in tcp_xmit_early_reset()
2570 if (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION) { in tcp_xmit_early_reset()
2707 if (IPH_HDR_VERSION(mp->b_rptr) == IPV4_VERSION) { in tcp_xmit_listeners_reset()
/titanic_44/usr/src/uts/common/inet/udp/
H A Dudp.c906 if (IPH_HDR_VERSION(ipha) != IPV4_VERSION) { in udp_icmp_input()
907 ASSERT(IPH_HDR_VERSION(ipha) == IPV6_VERSION); in udp_icmp_input()
911 ASSERT(IPH_HDR_VERSION(ipha) == IPV4_VERSION); in udp_icmp_input()
2275 ASSERT(IPH_HDR_VERSION(rptr) == IPV4_VERSION); in udp_input()
2284 ASSERT(IPH_HDR_VERSION(rptr) == IPV6_VERSION); in udp_input()
2311 ASSERT(IPH_HDR_VERSION((ipha_t *)rptr) == IPV4_VERSION); in udp_input()
/titanic_44/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c244 header->isv4 = IPH_HDR_VERSION(ipha) == IPV4_VERSION; in flowacct_extract_header()
/titanic_44/usr/src/uts/common/io/mac/
H A Dmac_util.c494 ASSERT(IPH_HDR_VERSION(ip6h) == IPV6_VERSION); in mac_ip_hdr_length_v6()
/titanic_44/usr/src/uts/common/inet/iptun/
H A Diptun.c2315 switch (IPH_HDR_VERSION(ipha)) { in iptun_find_headers()
2348 switch (IPH_HDR_VERSION(ipha)) { in iptun_find_headers()

12