Home
last modified time | relevance | path

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

/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ftable.c580 ip_xmit_attr_t ixas; in ipfil_sendpkt() local
602 bzero(&ixas, sizeof (ixas)); in ipfil_sendpkt()
607 ixas.ixa_flags = IXAF_NO_IPSEC | IXAF_DONTFRAG | IXAF_NO_PFHOOK; in ipfil_sendpkt()
608 ixas.ixa_cred = kcred; in ipfil_sendpkt()
609 ixas.ixa_cpid = NOPID; in ipfil_sendpkt()
610 ixas.ixa_tsl = NULL; in ipfil_sendpkt()
611 ixas.ixa_ipst = ipst; in ipfil_sendpkt()
612 ixas.ixa_ifindex = ifindex; in ipfil_sendpkt()
617 ixas.ixa_flags |= IXAF_IS_IPV4; in ipfil_sendpkt()
620 ixas.ixa_flags |= IXAF_NEXTHOP_SET; in ipfil_sendpkt()
[all …]
H A Dip6.c440 ip_xmit_attr_t ixas; in icmp_send_reply_v6() local
479 bzero(&ixas, sizeof (ixas)); in icmp_send_reply_v6()
480 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in icmp_send_reply_v6()
481 ixas.ixa_zoneid = ira->ira_zoneid; in icmp_send_reply_v6()
482 ixas.ixa_cred = kcred; in icmp_send_reply_v6()
483 ixas.ixa_cpid = NOPID; in icmp_send_reply_v6()
484 ixas.ixa_tsl = ira->ira_tsl; /* Behave as a multi-level responder */ in icmp_send_reply_v6()
485 ixas.ixa_ifindex = 0; in icmp_send_reply_v6()
486 ixas.ixa_ipst = ipst; in icmp_send_reply_v6()
487 ixas.ixa_multicast_ttl = IP_DEFAULT_MULTICAST_TTL; in icmp_send_reply_v6()
[all …]
H A Dipsecesp.c1620 ip_xmit_attr_t ixas; in esp_kcf_callback_outbound() local
1640 if (!ip_xmit_attr_from_mblk(async_mp, &ixas)) { in esp_kcf_callback_outbound()
1643 if (ixas.ixa_nce != NULL) { in esp_kcf_callback_outbound()
1644 ill = ixas.ixa_nce->nce_ill; in esp_kcf_callback_outbound()
1651 ns = ixas.ixa_ipst->ips_netstack; in esp_kcf_callback_outbound()
1654 ill = ixas.ixa_nce->nce_ill; in esp_kcf_callback_outbound()
1663 esp_set_usetime(ixas.ixa_ipsec_esp_sa, B_FALSE); in esp_kcf_callback_outbound()
1670 data_mp = esp_do_outbound_ah(data_mp, &ixas); in esp_kcf_callback_outbound()
1674 (void) ip_output_post_ipsec(data_mp, &ixas); in esp_kcf_callback_outbound()
1690 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.c1413 ip_xmit_attr_t ixas; in ip_output_simple_broadcast() local
1415 bzero(&ixas, sizeof (ixas)); in ip_output_simple_broadcast()
1416 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in ip_output_simple_broadcast()
1417 ixas.ixa_zoneid = ixa->ixa_zoneid; in ip_output_simple_broadcast()
1418 ixas.ixa_ifindex = 0; in ip_output_simple_broadcast()
1419 ixas.ixa_ipst = ixa->ixa_ipst; in ip_output_simple_broadcast()
1420 ixas.ixa_cred = ixa->ixa_cred; in ip_output_simple_broadcast()
1421 ixas.ixa_cpid = ixa->ixa_cpid; in ip_output_simple_broadcast()
1422 ixas.ixa_tsl = ixa->ixa_tsl; in ip_output_simple_broadcast()
1423 ixas.ixa_multicast_ttl = IP_DEFAULT_MULTICAST_TTL; in ip_output_simple_broadcast()
[all …]
H A Dip_mroute.c3115 ip_xmit_attr_t ixas; in tbf_send_packet() local
3122 bzero(&ixas, sizeof (ixas)); in tbf_send_packet()
3123 ixas.ixa_flags = in tbf_send_packet()
3125 ixas.ixa_ipst = ipst; in tbf_send_packet()
3126 ixas.ixa_ifindex = 0; in tbf_send_packet()
3127 ixas.ixa_cred = kcred; in tbf_send_packet()
3128 ixas.ixa_cpid = NOPID; in tbf_send_packet()
3129 ixas.ixa_tsl = NULL; in tbf_send_packet()
3130 ixas.ixa_zoneid = GLOBAL_ZONEID; /* Multicast router in GZ */ in tbf_send_packet()
3131 ixas.ixa_pktlen = ntohs(ipha->ipha_length); in tbf_send_packet()
[all …]
H A Dipsecah.c949 ip_xmit_attr_t ixas; in ah_add_sa_finish() local
965 if (!ip_xmit_attr_from_mblk(asyncmp, &ixas)) { in ah_add_sa_finish()
971 ill = ixas.ixa_nce->nce_ill; in ah_add_sa_finish()
978 ah_outbound_finish(data_mp, &ixas); in ah_add_sa_finish()
980 ixa_cleanup(&ixas); in ah_add_sa_finish()
2530 ip_xmit_attr_t ixas; in ah_kcf_callback_outbound() local
2550 if (!ip_xmit_attr_from_mblk(async_mp, &ixas)) { in ah_kcf_callback_outbound()
2552 if (ixas.ixa_nce != NULL) { in ah_kcf_callback_outbound()
2553 ill = ixas.ixa_nce->nce_ill; in ah_kcf_callback_outbound()
2560 ns = ixas.ixa_ipst->ips_netstack; in ah_kcf_callback_outbound()
[all …]
H A Dip_ndp.c2368 ip_xmit_attr_t ixas; in ndp_xmit() local
2435 bzero(&ixas, sizeof (ixas)); in ndp_xmit()
2436 ixas.ixa_flags = IXAF_SET_ULP_CKSUM | IXAF_NO_HW_CKSUM; in ndp_xmit()
2438 ixas.ixa_ifindex = ill->ill_phyint->phyint_ifindex; in ndp_xmit()
2439 ixas.ixa_ipst = ipst; in ndp_xmit()
2440 ixas.ixa_cred = kcred; in ndp_xmit()
2441 ixas.ixa_cpid = NOPID; in ndp_xmit()
2442 ixas.ixa_tsl = NULL; in ndp_xmit()
2443 ixas.ixa_zoneid = zoneid; in ndp_xmit()
2450 ixas.ixa_multicast_ttl = ip6h->ip6_hops; in ndp_xmit()
[all …]
H A Dip.c1676 ip_xmit_attr_t ixas; in icmp_send_reply_v4() local
1695 bzero(&ixas, sizeof (ixas)); in icmp_send_reply_v4()
1696 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in icmp_send_reply_v4()
1697 ixas.ixa_zoneid = ira->ira_zoneid; in icmp_send_reply_v4()
1698 ixas.ixa_cred = kcred; in icmp_send_reply_v4()
1699 ixas.ixa_cpid = NOPID; in icmp_send_reply_v4()
1700 ixas.ixa_tsl = ira->ira_tsl; /* Behave as a multi-level responder */ in icmp_send_reply_v4()
1701 ixas.ixa_ifindex = 0; in icmp_send_reply_v4()
1702 ixas.ixa_ipst = ipst; in icmp_send_reply_v4()
1703 ixas.ixa_multicast_ttl = IP_DEFAULT_MULTICAST_TTL; in icmp_send_reply_v4()
[all …]
H A Dip_if.c13147 ip_xmit_attr_t ixas; in ill_mcast_send_queued() local
13162 bzero(&ixas, sizeof (ixas)); in ill_mcast_send_queued()
13163 ixas.ixa_zoneid = ALL_ZONES; in ill_mcast_send_queued()
13164 ixas.ixa_cred = kcred; in ill_mcast_send_queued()
13165 ixas.ixa_cpid = NOPID; in ill_mcast_send_queued()
13166 ixas.ixa_tsl = NULL; in ill_mcast_send_queued()
13172 ixas.ixa_ifindex = ill->ill_phyint->phyint_ifindex; in ill_mcast_send_queued()
13173 ixas.ixa_ipst = ill->ill_ipst; in ill_mcast_send_queued()
13205 ixas.ixa_multicast_ttl = ip6h->ip6_hops; in ill_mcast_send_queued()
13206 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in ill_mcast_send_queued()
[all …]
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun.c2100 ip_xmit_attr_t ixas; in iptun_sendicmp_v4() local
2128 bzero(&ixas, sizeof (ixas)); in iptun_sendicmp_v4()
2129 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in iptun_sendicmp_v4()
2131 ixas.ixa_flags &= ~IXAF_VERIFY_SOURCE; in iptun_sendicmp_v4()
2132 ixas.ixa_flags |= IXAF_SET_SOURCE; in iptun_sendicmp_v4()
2135 ixas.ixa_zoneid = IPCL_ZONEID(connp); in iptun_sendicmp_v4()
2136 ixas.ixa_ipst = connp->conn_netstack->netstack_ip; in iptun_sendicmp_v4()
2137 ixas.ixa_cred = connp->conn_cred; in iptun_sendicmp_v4()
2138 ixas.ixa_cpid = NOPID; in iptun_sendicmp_v4()
2140 ixas.ixa_tsl = tsl; in iptun_sendicmp_v4()
[all …]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_output.c2527 ip_xmit_attr_t ixas, *ixa; in tcp_xmit_early_reset() local
2557 bzero(&ixas, sizeof (ixas)); in tcp_xmit_early_reset()
2558 ixa = &ixas; in tcp_xmit_early_reset()
2741 ASSERT(ixa != &ixas); in tcp_xmit_early_reset()