Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/lib/libdtrace/common/
H A Dip.d.in318 ipv4_protocol = I != NULL ? I->ipha_protocol : 0;
320 I->ipha_protocol == IPPROTO_TCP ? "TCP" :
321 I->ipha_protocol == IPPROTO_UDP ? "UDP" :
322 I->ipha_protocol == IPPROTO_IP ? "IP" :
323 I->ipha_protocol == IPPROTO_ICMP ? "ICMP" :
324 I->ipha_protocol == IPPROTO_IGMP ? "IGMP" :
325 I->ipha_protocol == IPPROTO_EGP ? "EGP" :
326 I->ipha_protocol == IPPROTO_IPV6 ? "IPv6" :
327 I->ipha_protocol == IPPROTO_ROUTING ? "ROUTE" :
328 I->ipha_protocol == IPPROTO_ESP ? "ESP" :
[all …]
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip_input.c500 ipha->ipha_protocol == IPPROTO_UDP) { in ill_input_full_v4()
535 if (ipha->ipha_protocol == IPPROTO_RSVP && in ill_input_full_v4()
681 if (ilb_has_rules(ilbs) && ILB_SUPP_L4(ipha->ipha_protocol)) { in ill_input_short_v4()
714 lb_ret = ilb_check_v4(ilbs, ill, mp, ipha, ipha->ipha_protocol, in ill_input_short_v4()
1324 if (ipha->ipha_protocol == IPPROTO_TCP) { in ire_recv_broadcast_v4()
1575 if ((ipha->ipha_protocol == IPPROTO_IGMP) || in ire_recv_multicast_v4()
1576 (ipha->ipha_protocol == IPPROTO_PIM)) { in ire_recv_multicast_v4()
1591 if (ipha->ipha_protocol == IPPROTO_IGMP) { in ire_recv_multicast_v4()
2341 uint8_t protocol = ipha->ipha_protocol; in ip_fanout_v4()
2705 protocol = ipha->ipha_protocol; in ip_fanout_v4()
[all …]
H A Dip.c1782 switch (ipha->ipha_protocol) { in icmp_inbound_verify_v4()
2091 ira->ira_protocol = ipha->ipha_protocol; in icmp_inbound_error_fanout_v4()
2100 ripha.ipha_protocol = ipha->ipha_protocol; in icmp_inbound_error_fanout_v4()
2104 ripha.ipha_protocol, ntohl(ipha->ipha_src), in icmp_inbound_error_fanout_v4()
2108 switch (ipha->ipha_protocol) { in icmp_inbound_error_fanout_v4()
2181 if (ipha->ipha_protocol == IPPROTO_ESP) in icmp_inbound_error_fanout_v4()
2278 if (ipha->ipha_protocol == IPPROTO_ENCAP) { in icmp_inbound_error_fanout_v4()
2848 if (ipha->ipha_protocol == IPPROTO_ENCAP || in icmp_pkt()
2849 ipha->ipha_protocol == IPPROTO_IPV6) { in icmp_pkt()
2858 if (ipha->ipha_protocol == IPPROTO_ENCAP) { in icmp_pkt()
[all …]
H A Dipsecah.c2287 ipha->ipha_protocol = nexthdr; in ah_icmp_error_v4()
3251 ipha->ipha_protocol = IPPROTO_AH; in ah_process_ip_options_v4()
3350 oipha->ipha_protocol; in ah_process_ip_options_v4()
3748 ipha->ipha_protocol = ah->ah_nexthdr; in ah_auth_in_done()
3926 nipha->ipha_protocol = IPPROTO_AH; in ah_auth_out_done()
H A Dipsecesp.c749 switch (ipha->ipha_protocol) { in esp_fix_natt_checksums()
838 ipha->ipha_protocol = nexthdr; in esp_strip_header()
1910 ipha->ipha_protocol == IPPROTO_UDP) in esp_kcf_callback_outbound()
2354 ipha->ipha_protocol = IPPROTO_UDP; in ipsecesp_send_keepalive()
2695 nhp = (uint8_t *)&ipha->ipha_protocol; in esp_outbound()
H A Dspd.c2297 if (ipha->ipha_protocol != IPPROTO_ICMP) { in ipsec_inbound_accept_clear()
2300 ipha->ipha_protocol); in ipsec_inbound_accept_clear()
2760 nexthdr = ipha->ipha_protocol; in ipsec_init_inbound_sel()
2867 nexthdr = ipha->ipha_protocol; in ipsec_init_outbound_ports()
5217 sel.ips_protocol = (uint8_t)inner_ipv4->ipha_protocol; in ipsec_tun_outbound()
5317 (uint8_t)inner_ipv4->ipha_protocol; in ipsec_tun_outbound()
6372 (fep->itpfe_proto == iph->ipha_protocol)) in ipsec_fragcache_add()
6447 fep->itpfe_proto = iph->ipha_protocol; in ipsec_fragcache_add()
H A Dip_sadb.c684 ASSERT(ipha->ipha_protocol == IPPROTO_AH); in ipsec_inbound_ah_sa()
H A Dtnet.c764 proto = ipha->ipha_protocol; in tsol_get_pkt_label()
1486 proto = ipha->ipha_protocol; in tsol_ip_forward()
H A Dicmp.c3122 do_ipsec = ipha->ipha_protocol != IPPROTO_ICMP; in icmp_output_hdrincl()
3225 ipha->ipha_protocol = iphas.ipha_protocol; in icmp_output_hdrincl()
3229 ixa->ixa_protocol = ipha->ipha_protocol; in icmp_output_hdrincl()
3236 switch (ipha->ipha_protocol) { in icmp_output_hdrincl()
H A Digmp.c1867 ipha->ipha_protocol = IPPROTO_IGMP; in igmp_sendpkt()
2021 ipha->ipha_protocol = IPPROTO_IGMP; in igmpv3_sendrpt()
H A Dip_mroute.c2719 if (ipha_encap->ipha_protocol == IPPROTO_RSVP && in ip_mroute_decap()
3262 if (ipha->ipha_protocol == IPPROTO_UDP) { in priority()
/titanic_44/usr/src/uts/common/inet/iptun/
H A Diptun.c2116 new_ipha->ipha_protocol = IPPROTO_ICMP; in iptun_sendicmp_v4()
2268 if (ipha->ipha_protocol != IPPROTO_ICMP) in is_icmp_error()
2417 ASSERT(outer4->ipha_protocol == IPPROTO_ENCAP || in iptun_input_icmp_v4()
2418 outer4->ipha_protocol == IPPROTO_IPV6); in iptun_input_icmp_v4()
2930 ASSERT(outer4->ipha_protocol == IPPROTO_ENCAP); in iptun_out_process_ipv4()
2941 ASSERT(outer4->ipha_protocol == IPPROTO_IPV6 && in iptun_out_process_ipv4()
2967 ixa->ixa_protocol = outer4->ipha_protocol; in iptun_out_process_ipv4()
/titanic_44/usr/src/uts/common/io/mac/
H A Dmac_util.c200 proto = ipha->ipha_protocol; in mac_fix_cksum()
980 proto = iphp->ipha_protocol; in mac_pkt_hash()
H A Dmac_sched.c1656 switch (ipha->ipha_protocol) { in mac_rx_srs_proto_fanout()
1800 nexthdr = ipha->ipha_protocol; in mac_rx_srs_long_fanout()
2071 switch (ipha->ipha_protocol) { in mac_rx_srs_fanout()
2122 switch (ipha->ipha_protocol) { in mac_rx_srs_fanout()
/titanic_44/usr/src/uts/common/io/chxge/
H A Dch.c1771 if (ihdr->ipha_protocol == IPPROTO_UDP) { in ch_send()
1774 } else if (ihdr->ipha_protocol == IPPROTO_TCP) { in ch_send()
1778 } else if (ihdr->ipha_protocol == IPPROTO_UDP) in ch_send()
/titanic_44/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c617 packet->proto = ipha->ipha_protocol; in parse_packet()
/titanic_44/usr/src/uts/common/xen/io/
H A Dxnb.c312 switch (ipha->ipha_protocol) { in xnb_process_cksum_flags()
327 if (ipha->ipha_protocol == IPPROTO_TCP) { in xnb_process_cksum_flags()
H A Dxnf.c1407 switch (ipha->ipha_protocol) { in xnf_pseudo_cksum()
1418 ipha->ipha_protocol); in xnf_pseudo_cksum()
/titanic_44/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c250 header->proto = ipha->ipha_protocol; in flowacct_extract_header()
/titanic_44/usr/src/uts/common/io/igb/
H A Digb_tx.c708 l4_proto = *(uint8_t *)(pos + offsetof(ipha_t, ipha_protocol)); in igb_get_tx_context()
/titanic_44/usr/src/uts/common/io/ixgbe/
H A Dixgbe_tx.c815 offset = offsetof(ipha_t, ipha_protocol) + mac_hdr_len; in ixgbe_get_context()
/titanic_44/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c731 ((ipha_t *)(uintptr_t)ip_off)->ipha_protocol; in unm_get_pkt_info()
759 pktinfo->l4_proto = ((ipha_t *)(uintptr_t)ipp)->ipha_protocol; in unm_update_pkt_info()
/titanic_44/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c212 if (old_ipha->ipha_protocol == IPPROTO_ENCAP) { in ibd_async_rc_process_too_big()
215 } else if (old_ipha->ipha_protocol == IPPROTO_IPV6) { in ibd_async_rc_process_too_big()
/titanic_44/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1377 (off << 3) & 0xffff, iph->ipha_ttl, iph->ipha_protocol, in iphdr()
1382 return (transport_hdr(iph->ipha_protocol, nxt_proto)); in iphdr()
/titanic_44/usr/src/uts/common/inet/ilb/
H A Dilb_conn.c922 l4 = in_iph4->ipha_protocol; in ilb_check_icmp_conn()

12