/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip_output.c | 1082 ip_recv_attr_t iras; /* NOTE: No bzero for performance */ in ire_send_local_v4() local 1149 ipsec_out_to_in(ixa, ill, &iras); in ire_send_local_v4() 1150 iras.ira_pktlen = pktlen; in ire_send_local_v4() 1154 iras.ira_flags |= IRAF_IPV4_OPTIONS; in ire_send_local_v4() 1168 ira_cleanup(&iras, B_FALSE); in ire_send_local_v4() 1178 pktlen = iras.ira_pktlen = ntohs(ipha->ipha_length); in ire_send_local_v4() 1190 iras.ira_zoneid = ire->ire_zoneid; in ire_send_local_v4() 1193 iras.ira_flags |= IRAF_SYSTEM_LABELED; in ire_send_local_v4() 1201 if (!tsol_get_pkt_label(mp, IPV4_VERSION, &iras)) { in ire_send_local_v4() 1207 ASSERT(iras.ira_tsl != NULL); in ire_send_local_v4() [all …]
|
H A D | ip6_output.c | 383 ip_recv_attr_t iras; /* NOTE: No bzero for performance */ in ire_send_local_v6() local 494 ipsec_out_to_in(ixa, ill, &iras); in ire_send_local_v6() 495 iras.ira_pktlen = pktlen; in ire_send_local_v6() 502 iras.ira_zoneid = ire->ire_zoneid; in ire_send_local_v6() 505 iras.ira_flags |= IRAF_SYSTEM_LABELED; in ire_send_local_v6() 513 if (!tsol_get_pkt_label(mp, IPV6_VERSION, &iras)) { in ire_send_local_v6() 519 ASSERT(iras.ira_tsl != NULL); in ire_send_local_v6() 525 ip_fanout_v6(mp, ip6h, &iras); in ire_send_local_v6() 528 ira_cleanup(&iras, B_FALSE); in ire_send_local_v6() 668 ip_recv_attr_t iras; in ire_send_noroute_v6() local [all …]
|
H A D | ip6_input.c | 199 ip_recv_attr_t iras; /* Receive attributes */ in ip_input_common_v6() local 210 iras.ira_ill = iras.ira_rill = ill; in ip_input_common_v6() 211 iras.ira_ruifindex = ill->ill_phyint->phyint_ifindex; in ip_input_common_v6() 212 iras.ira_rifindex = iras.ira_ruifindex; in ip_input_common_v6() 213 iras.ira_sqp = NULL; in ip_input_common_v6() 214 iras.ira_ring = ip_ring; in ip_input_common_v6() 216 iras.ira_xmit_hint = ILL_RING_TO_XMIT_HINT(ip_ring); in ip_input_common_v6() 218 iras.ira_target_sqp = target_sqp; in ip_input_common_v6() 219 iras.ira_target_sqp_mp = NULL; in ip_input_common_v6() 228 iras.ira_mhip = mhip; in ip_input_common_v6() [all …]
|
H A D | ip_input.c | 202 ip_recv_attr_t iras; /* Receive attributes */ in ip_input_common_v4() local 213 iras.ira_ill = iras.ira_rill = ill; in ip_input_common_v4() 214 iras.ira_ruifindex = ill->ill_phyint->phyint_ifindex; in ip_input_common_v4() 215 iras.ira_rifindex = iras.ira_ruifindex; in ip_input_common_v4() 216 iras.ira_sqp = NULL; in ip_input_common_v4() 217 iras.ira_ring = ip_ring; in ip_input_common_v4() 219 iras.ira_xmit_hint = ILL_RING_TO_XMIT_HINT(ip_ring); in ip_input_common_v4() 221 iras.ira_target_sqp = target_sqp; in ip_input_common_v4() 222 iras.ira_target_sqp_mp = NULL; in ip_input_common_v4() 231 iras.ira_mhip = mhip; in ip_input_common_v4() [all …]
|
H A D | ip_mroute.c | 1985 ip_recv_attr_t iras; in ip_mdq() local 2093 bzero(&iras, sizeof (iras)); in ip_mdq() 2094 iras.ira_flags = IRAF_IS_IPV4; in ip_mdq() 2095 iras.ira_ip_hdr_length = in ip_mdq() 2097 iras.ira_pktlen = msgdsize(mp_copy); in ip_mdq() 2098 (mrouter->conn_recv)(mrouter, mp_copy, NULL, &iras); in ip_mdq() 2099 ASSERT(!(iras.ira_flags & IRAF_IPSEC_SECURE)); in ip_mdq() 2204 ip_recv_attr_t iras; in register_send() local 2283 bzero(&iras, sizeof (iras)); in register_send() 2284 iras.ira_flags = IRAF_IS_IPV4; in register_send() [all …]
|
H A D | ip_ndp.c | 1404 ip_recv_attr_t iras; in ip_ndp_excl() local 1410 if (!ip_recv_attr_from_mblk(attrmp, &iras)) { in ip_ndp_excl() 1415 ira_cleanup(&iras, B_TRUE); in ip_ndp_excl() 1419 ASSERT(ill == iras.ira_rill); in ip_ndp_excl() 1421 ip_ndp_find_addresses(mp, &iras, ill, &targ, &haddr, &haddrlen); in ip_ndp_excl() 1500 ira_cleanup(&iras, B_TRUE); in ip_ndp_excl() 2821 ip_recv_attr_t iras; in ndp_resolv_failed() local 2823 bzero(&iras, sizeof (iras)); in ndp_resolv_failed() 2824 iras.ira_flags = 0; in ndp_resolv_failed() 2831 iras.ira_ill = iras.ira_rill = ill; in ndp_resolv_failed() [all …]
|
H A D | ip_arp.c | 828 ip_recv_attr_t iras; in arp_process_packet() local 944 bzero(&iras, sizeof (iras)); in arp_process_packet() 945 iras.ira_ill = iras.ira_rill = ill; in arp_process_packet() 966 &iras, src_ncec); in arp_process_packet() 969 arp_notify(src_paddr, mp1, AR_CN_FAILED, &iras, in arp_process_packet() 1001 arp_notify(src_paddr, mp1, AR_CN_ANNOUNCE, &iras, in arp_process_packet() 1067 arp_notify(src_paddr, mp1, AR_CN_FAILED, &iras, in arp_process_packet() 1071 arp_notify(src_paddr, mp1, AR_CN_ANNOUNCE, &iras, in arp_process_packet() 1192 arp_notify(src_paddr, mp1, AR_CN_ANNOUNCE, &iras, NULL); in arp_process_packet()
|
H A D | ipsecah.c | 715 ip_recv_attr_t iras; in inbound_task() local 720 if (!ip_recv_attr_from_mblk(async_mp, &iras)) { in inbound_task() 727 ah_inbound_restart(mp, &iras); in inbound_task() 729 ira_cleanup(&iras, B_TRUE); in inbound_task() 2759 ip_recv_attr_t iras; in ah_kcf_callback_inbound() local 2776 if (!ip_recv_attr_from_mblk(async_mp, &iras)) { in ah_kcf_callback_inbound() 2782 ns = iras.ira_ill->ill_ipst->ips_netstack; in ah_kcf_callback_inbound() 2787 data_mp = ah_auth_in_done(data_mp, &iras, ic); in ah_kcf_callback_inbound() 2792 ip_input_post_ipsec(data_mp, &iras); in ah_kcf_callback_inbound() 2795 ah_log_bad_auth(data_mp, &iras, ic); in ah_kcf_callback_inbound() [all …]
|
H A D | ipsecesp.c | 1951 ip_recv_attr_t iras; in esp_kcf_callback_inbound() local 1968 if (!ip_recv_attr_from_mblk(async_mp, &iras)) { in esp_kcf_callback_inbound() 1975 ns = iras.ira_ill->ill_ipst->ips_netstack; in esp_kcf_callback_inbound() 1980 data_mp = esp_in_done(data_mp, &iras, ic); in esp_kcf_callback_inbound() 1985 ip_input_post_ipsec(data_mp, &iras); in esp_kcf_callback_inbound() 1987 esp_log_bad_auth(data_mp, &iras); in esp_kcf_callback_inbound() 1994 ip_drop_packet(data_mp, B_TRUE, iras.ira_ill, in esp_kcf_callback_inbound() 1997 BUMP_MIB(iras.ira_ill->ill_ip_mib, ipIfStatsInDiscards); in esp_kcf_callback_inbound() 2000 ira_cleanup(&iras, B_TRUE); in esp_kcf_callback_inbound() 3246 ip_recv_attr_t iras; in inbound_task() local [all …]
|
H A D | ip.c | 12984 ip_recv_attr_t iras; in ip_output_options() local 13088 bzero(&iras, sizeof (iras)); in ip_output_options() 13089 iras.ira_ill = iras.ira_rill = ill; in ip_output_options() 13090 iras.ira_ruifindex = ill->ill_phyint->phyint_ifindex; in ip_output_options() 13091 iras.ira_rifindex = iras.ira_ruifindex; in ip_output_options() 13092 iras.ira_flags = IRAF_IS_IPV4; in ip_output_options() 13095 icmp_param_problem(mp, (uint8_t)code, &iras); in ip_output_options() 13096 ASSERT(!(iras.ira_flags & IRAF_IPSEC_SECURE)); in ip_output_options() 13100 bzero(&iras, sizeof (iras)); in ip_output_options() 13101 iras.ira_ill = iras.ira_rill = ill; in ip_output_options() [all …]
|
H A D | ip_if.c | 2408 ip_recv_attr_t iras; in ill_frag_timeout() local 2410 bzero(&iras, sizeof (iras)); in ill_frag_timeout() 2411 iras.ira_flags = 0; in ill_frag_timeout() 2412 iras.ira_ill = iras.ira_rill = ill; in ill_frag_timeout() 2413 iras.ira_ruifindex = ill->ill_phyint->phyint_ifindex; in ill_frag_timeout() 2414 iras.ira_rifindex = iras.ira_ruifindex; in ill_frag_timeout() 2501 iras.ira_flags = 0; in ill_frag_timeout() 2507 iras.ira_zoneid = in ill_frag_timeout() 2513 &iras); in ill_frag_timeout() 2514 ASSERT(!(iras.ira_flags & IRAF_IPSEC_SECURE)); in ill_frag_timeout() [all …]
|
H A D | spd.c | 5471 ip_recv_attr_t iras; in ipsec_check_ipsecin_policy_reasm() local 5480 if (!ip_recv_attr_from_mblk(attr_mp, &iras)) { in ipsec_check_ipsecin_policy_reasm() 5483 ira_cleanup(&iras, B_TRUE); in ipsec_check_ipsecin_policy_reasm() 5494 inner_ipv6, pkt_unique, &iras, ns); in ipsec_check_ipsecin_policy_reasm() 5495 ira_cleanup(&iras, B_TRUE); in ipsec_check_ipsecin_policy_reasm()
|
H A D | sadb.c | 7031 ip_recv_attr_t iras; local 7043 if (!ip_recv_attr_from_mblk(buf_pkt, &iras)) { 7048 ip_input_post_ipsec(data_mp, &iras); 7050 ira_cleanup(&iras, B_TRUE);
|
/titanic_44/usr/src/uts/common/inet/ |
H A D | squeue.c | 722 ip_recv_attr_t *ira, iras; in squeue_drain() local 792 if (!ip_recv_attr_from_mblk(attrmp, &iras)) { in squeue_drain() 796 ira_cleanup(&iras, B_TRUE); in squeue_drain() 800 ira = &iras; in squeue_drain()
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp.c | 1888 ip_recv_attr_t iras; in sctp_process_recvq() local 1920 if (!ip_recv_attr_from_mblk(mp, &iras)) { in sctp_process_recvq() 1923 ira_cleanup(&iras, B_TRUE); in sctp_process_recvq() 1927 if (iras.ira_flags & IRAF_ICMP_ERROR) in sctp_process_recvq() 1930 sctp_input_data(sctp, data_mp, &iras); in sctp_process_recvq() 1932 ira_cleanup(&iras, B_TRUE); in sctp_process_recvq()
|