Home
last modified time | relevance | path

Searched refs:ixas (Results 1 – 14 of 14) sorted by relevance

/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_shutdown.c238 ip_xmit_attr_t ixas; in sctp_ootb_shutdown_ack() local
240 bzero(&ixas, sizeof (ixas)); in sctp_ootb_shutdown_ack()
267 ixas.ixa_pktlen = ip_hdr_len + sizeof (*insctph) + sizeof (*scch); in sctp_ootb_shutdown_ack()
268 ixas.ixa_ip_hdr_length = ip_hdr_len; in sctp_ootb_shutdown_ack()
269 mp->b_wptr = (mp->b_rptr + ixas.ixa_pktlen); in sctp_ootb_shutdown_ack()
282 ipha->ipha_length = htons(ixas.ixa_pktlen); in sctp_ootb_shutdown_ack()
289 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in sctp_ootb_shutdown_ack()
305 ip6h->ip6_plen = htons(ixas.ixa_pktlen - IPV6_HDR_LEN); in sctp_ootb_shutdown_ack()
311 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in sctp_ootb_shutdown_ack()
313 ixas.ixa_flags |= IXAF_SCOPEID_SET; in sctp_ootb_shutdown_ack()
[all …]
H A Dsctp_error.c338 ip_xmit_attr_t ixas; in sctp_ootb_send_abort() local
340 bzero(&ixas, sizeof (ixas)); in sctp_ootb_send_abort()
379 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in sctp_ootb_send_abort()
402 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in sctp_ootb_send_abort()
404 ixas.ixa_flags |= IXAF_SCOPEID_SET; in sctp_ootb_send_abort()
405 ixas.ixa_scopeid = ira->ira_ruifindex; in sctp_ootb_send_abort()
423 ixas.ixa_pktlen = ahlen + alen; in sctp_ootb_send_abort()
424 ixas.ixa_ip_hdr_length = ip_hdr_len; in sctp_ootb_send_abort()
427 ipha->ipha_length = htons(ixas.ixa_pktlen); in sctp_ootb_send_abort()
429 ip6h->ip6_plen = htons(ixas.ixa_pktlen - IPV6_HDR_LEN); in sctp_ootb_send_abort()
[all …]
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_ftable.c579 ip_xmit_attr_t ixas; in ipfil_sendpkt() local
601 bzero(&ixas, sizeof (ixas)); in ipfil_sendpkt()
606 ixas.ixa_flags = IXAF_NO_IPSEC | IXAF_DONTFRAG | IXAF_NO_PFHOOK; in ipfil_sendpkt()
607 ixas.ixa_cred = kcred; in ipfil_sendpkt()
608 ixas.ixa_cpid = NOPID; in ipfil_sendpkt()
609 ixas.ixa_tsl = NULL; in ipfil_sendpkt()
610 ixas.ixa_ipst = ipst; in ipfil_sendpkt()
611 ixas.ixa_ifindex = ifindex; in ipfil_sendpkt()
616 ixas.ixa_flags |= IXAF_IS_IPV4; in ipfil_sendpkt()
619 ixas.ixa_flags |= IXAF_NEXTHOP_SET; in ipfil_sendpkt()
[all …]
H A Dip6.c438 ip_xmit_attr_t ixas; in icmp_send_reply_v6() local
477 bzero(&ixas, sizeof (ixas)); in icmp_send_reply_v6()
478 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in icmp_send_reply_v6()
479 ixas.ixa_zoneid = ira->ira_zoneid; in icmp_send_reply_v6()
480 ixas.ixa_cred = kcred; in icmp_send_reply_v6()
481 ixas.ixa_cpid = NOPID; in icmp_send_reply_v6()
482 ixas.ixa_tsl = ira->ira_tsl; /* Behave as a multi-level responder */ in icmp_send_reply_v6()
483 ixas.ixa_ifindex = 0; in icmp_send_reply_v6()
484 ixas.ixa_ipst = ipst; in icmp_send_reply_v6()
485 ixas.ixa_multicast_ttl = IP_DEFAULT_MULTICAST_TTL; in icmp_send_reply_v6()
[all …]
H A Dipsecesp.c1864 ip_xmit_attr_t ixas; in esp_kcf_callback_outbound() local
1884 if (!ip_xmit_attr_from_mblk(async_mp, &ixas)) { in esp_kcf_callback_outbound()
1887 if (ixas.ixa_nce != NULL) { in esp_kcf_callback_outbound()
1888 ill = ixas.ixa_nce->nce_ill; in esp_kcf_callback_outbound()
1895 ns = ixas.ixa_ipst->ips_netstack; in esp_kcf_callback_outbound()
1898 ill = ixas.ixa_nce->nce_ill; in esp_kcf_callback_outbound()
1907 esp_set_usetime(ixas.ixa_ipsec_esp_sa, B_FALSE); in esp_kcf_callback_outbound()
1914 data_mp = esp_do_outbound_ah(data_mp, &ixas); in esp_kcf_callback_outbound()
1918 (void) ip_output_post_ipsec(data_mp, &ixas); in esp_kcf_callback_outbound()
1934 ixa_cleanup(&ixas); in esp_kcf_callback_outbound()
[all …]
H A Dip_netinfo.c1482 ip_xmit_attr_t ixas; in ip_ni_queue_func_impl() local
1504 bzero(&ixas, sizeof (ixas)); in ip_ni_queue_func_impl()
1505 ixas.ixa_ifindex = packet->ni_physical; in ip_ni_queue_func_impl()
1506 ixas.ixa_ipst = ipst; in ip_ni_queue_func_impl()
1508 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in ip_ni_queue_func_impl()
1510 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in ip_ni_queue_func_impl()
1512 ixas.ixa_flags &= ~IXAF_VERIFY_SOURCE; in ip_ni_queue_func_impl()
1513 (void) ip_output_simple(packet->ni_packet, &ixas); in ip_ni_queue_func_impl()
1514 ixa_cleanup(&ixas); in ip_ni_queue_func_impl()
H A Dip_output.c1409 ip_xmit_attr_t ixas; in ip_output_simple_broadcast() local
1411 bzero(&ixas, sizeof (ixas)); in ip_output_simple_broadcast()
1412 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in ip_output_simple_broadcast()
1413 ixas.ixa_zoneid = ixa->ixa_zoneid; in ip_output_simple_broadcast()
1414 ixas.ixa_ifindex = 0; in ip_output_simple_broadcast()
1415 ixas.ixa_ipst = ixa->ixa_ipst; in ip_output_simple_broadcast()
1416 ixas.ixa_cred = ixa->ixa_cred; in ip_output_simple_broadcast()
1417 ixas.ixa_cpid = ixa->ixa_cpid; in ip_output_simple_broadcast()
1418 ixas.ixa_tsl = ixa->ixa_tsl; in ip_output_simple_broadcast()
1419 ixas.ixa_multicast_ttl = IP_DEFAULT_MULTICAST_TTL; in ip_output_simple_broadcast()
[all …]
H A Dip_mroute.c3108 ip_xmit_attr_t ixas; in tbf_send_packet() local
3115 bzero(&ixas, sizeof (ixas)); in tbf_send_packet()
3116 ixas.ixa_flags = in tbf_send_packet()
3118 ixas.ixa_ipst = ipst; in tbf_send_packet()
3119 ixas.ixa_ifindex = 0; in tbf_send_packet()
3120 ixas.ixa_cred = kcred; in tbf_send_packet()
3121 ixas.ixa_cpid = NOPID; in tbf_send_packet()
3122 ixas.ixa_tsl = NULL; in tbf_send_packet()
3123 ixas.ixa_zoneid = GLOBAL_ZONEID; /* Multicast router in GZ */ in tbf_send_packet()
3124 ixas.ixa_pktlen = ntohs(ipha->ipha_length); in tbf_send_packet()
[all …]
H A Dipsecah.c961 ip_xmit_attr_t ixas; in ah_add_sa_finish() local
977 if (!ip_xmit_attr_from_mblk(asyncmp, &ixas)) { in ah_add_sa_finish()
983 ill = ixas.ixa_nce->nce_ill; in ah_add_sa_finish()
990 ah_outbound_finish(data_mp, &ixas); in ah_add_sa_finish()
992 ixa_cleanup(&ixas); in ah_add_sa_finish()
2685 ip_xmit_attr_t ixas; in ah_kcf_callback_outbound() local
2705 if (!ip_xmit_attr_from_mblk(async_mp, &ixas)) { in ah_kcf_callback_outbound()
2707 if (ixas.ixa_nce != NULL) { in ah_kcf_callback_outbound()
2708 ill = ixas.ixa_nce->nce_ill; in ah_kcf_callback_outbound()
2715 ns = ixas.ixa_ipst->ips_netstack; in ah_kcf_callback_outbound()
[all …]
H A Dip_ndp.c2132 ip_xmit_attr_t ixas; in ndp_xmit() local
2199 bzero(&ixas, sizeof (ixas)); in ndp_xmit()
2200 ixas.ixa_flags = IXAF_SET_ULP_CKSUM | IXAF_NO_HW_CKSUM; in ndp_xmit()
2202 ixas.ixa_ifindex = ill->ill_phyint->phyint_ifindex; in ndp_xmit()
2203 ixas.ixa_ipst = ipst; in ndp_xmit()
2204 ixas.ixa_cred = kcred; in ndp_xmit()
2205 ixas.ixa_cpid = NOPID; in ndp_xmit()
2206 ixas.ixa_tsl = NULL; in ndp_xmit()
2207 ixas.ixa_zoneid = zoneid; in ndp_xmit()
2214 ixas.ixa_multicast_ttl = ip6h->ip6_hops; in ndp_xmit()
[all …]
H A Dip.c1678 ip_xmit_attr_t ixas; in icmp_send_reply_v4() local
1697 bzero(&ixas, sizeof (ixas)); in icmp_send_reply_v4()
1698 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in icmp_send_reply_v4()
1699 ixas.ixa_zoneid = ira->ira_zoneid; in icmp_send_reply_v4()
1700 ixas.ixa_cred = kcred; in icmp_send_reply_v4()
1701 ixas.ixa_cpid = NOPID; in icmp_send_reply_v4()
1702 ixas.ixa_tsl = ira->ira_tsl; /* Behave as a multi-level responder */ in icmp_send_reply_v4()
1703 ixas.ixa_ifindex = 0; in icmp_send_reply_v4()
1704 ixas.ixa_ipst = ipst; in icmp_send_reply_v4()
1705 ixas.ixa_multicast_ttl = IP_DEFAULT_MULTICAST_TTL; in icmp_send_reply_v4()
[all …]
H A Dip_if.c13135 ip_xmit_attr_t ixas; in ill_mcast_send_queued() local
13150 bzero(&ixas, sizeof (ixas)); in ill_mcast_send_queued()
13151 ixas.ixa_zoneid = ALL_ZONES; in ill_mcast_send_queued()
13152 ixas.ixa_cred = kcred; in ill_mcast_send_queued()
13153 ixas.ixa_cpid = NOPID; in ill_mcast_send_queued()
13154 ixas.ixa_tsl = NULL; in ill_mcast_send_queued()
13160 ixas.ixa_ifindex = ill->ill_phyint->phyint_ifindex; in ill_mcast_send_queued()
13161 ixas.ixa_ipst = ill->ill_ipst; in ill_mcast_send_queued()
13193 ixas.ixa_multicast_ttl = ip6h->ip6_hops; in ill_mcast_send_queued()
13194 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in ill_mcast_send_queued()
[all …]
/titanic_41/usr/src/uts/common/inet/iptun/
H A Diptun.c2098 ip_xmit_attr_t ixas; in iptun_sendicmp_v4() local
2126 bzero(&ixas, sizeof (ixas)); in iptun_sendicmp_v4()
2127 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in iptun_sendicmp_v4()
2129 ixas.ixa_flags &= ~IXAF_VERIFY_SOURCE; in iptun_sendicmp_v4()
2130 ixas.ixa_flags |= IXAF_SET_SOURCE; in iptun_sendicmp_v4()
2133 ixas.ixa_zoneid = IPCL_ZONEID(connp); in iptun_sendicmp_v4()
2134 ixas.ixa_ipst = connp->conn_netstack->netstack_ip; in iptun_sendicmp_v4()
2135 ixas.ixa_cred = connp->conn_cred; in iptun_sendicmp_v4()
2136 ixas.ixa_cpid = NOPID; in iptun_sendicmp_v4()
2138 ixas.ixa_tsl = tsl; in iptun_sendicmp_v4()
[all …]
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_output.c2454 ip_xmit_attr_t ixas, *ixa; in tcp_xmit_early_reset() local
2484 bzero(&ixas, sizeof (ixas)); in tcp_xmit_early_reset()
2485 ixa = &ixas; in tcp_xmit_early_reset()
2668 ASSERT(ixa != &ixas); in tcp_xmit_early_reset()