/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | conn_opt.c | 652 *i1 = (ixa->ixa_flags & IXAF_DONTROUTE) ? in conn_opt_get() 758 *i1 = (ixa->ixa_flags & IXAF_DONTFRAG) != 0; in conn_opt_get() 770 if (ixa->ixa_flags & IXAF_NEXTHOP_SET) { in conn_opt_get() 785 *ptr = (ixa->ixa_flags & IXAF_MULTICAST_LOOP) ? 1 : 0; in conn_opt_get() 840 if (ixa->ixa_flags & IXAF_BROADCAST_TTL_SET) in conn_opt_get() 867 *i1 = (ixa->ixa_flags & IXAF_MULTICAST_LOOP) ? 1 : 0; in conn_opt_get() 933 if (ixa->ixa_flags & IXAF_NEXTHOP_SET) in conn_opt_get() 973 *i1 = (ixa->ixa_flags & IXAF_DONTFRAG) != 0; in conn_opt_get() 976 if (ixa->ixa_flags & IXAF_USE_MIN_MTU) in conn_opt_get() 1140 ixa->ixa_flags |= IXAF_DONTROUTE; in conn_opt_set_socket() [all …]
|
H A D | ip_output.c | 139 iaflags_t ixaflags = ixa->ixa_flags; in conn_ip_output() 417 if (ixa->ixa_flags & IXAF_IS_IPV4) { in ip_verify_src() 432 if (ixa->ixa_flags & IXAF_SCOPEID_SET) in ip_verify_src() 476 if (ixa->ixa_flags & IXAF_IS_IPV4) in ip_verify_ire() 480 ixa->ixa_flags |= IXAF_MULTIRT_MULTICAST; in ip_verify_ire() 483 ixa->ixa_flags &= ~IXAF_MULTIRT_MULTICAST; in ip_verify_ire() 554 if (ixa->ixa_flags & IXAF_VERIFY_LSO) { in ip_verify_nce() 570 if (ixa->ixa_flags & IXAF_VERIFY_ZCOPY) { in ip_verify_nce() 575 if ((ixa->ixa_flags & IXAF_ZCOPY_CAPAB) == 0) in ip_verify_nce() 631 if (ixa->ixa_flags & IXAF_VERIFY_PMTU) { in ip_verify_dce() [all …]
|
H A D | ip6_output.c | 118 iaflags_t ixaflags = ixa->ixa_flags; in ip_output_simple_v6() 219 ixa->ixa_flags |= IXAF_MULTIRT_MULTICAST; in ip_output_simple_v6() 222 ixa->ixa_flags &= ~IXAF_MULTIRT_MULTICAST; in ip_output_simple_v6() 548 ixa->ixa_flags |= IXAF_NO_TTL_CHANGE; in multirt_check_v6() 556 ixa->ixa_flags |= IXAF_NO_TTL_CHANGE; in multirt_check_v6() 560 ixa->ixa_flags |= IXAF_IPV6_ADD_FRAGHDR; in multirt_check_v6() 577 iaflags_t ixaflags = ixa->ixa_flags; in ire_send_multicast_v6() 609 ixa->ixa_flags &= ~(IXAF_LOOPBACK_COPY | IXAF_NO_HW_CKSUM); in ire_send_multicast_v6() 612 ixa->ixa_flags |= IXAF_LOOPBACK_COPY | IXAF_NO_HW_CKSUM; in ire_send_multicast_v6() 619 ixa->ixa_flags |= IXAF_LOOPBACK_COPY | IXAF_NO_HW_CKSUM; in ire_send_multicast_v6() [all …]
|
H A D | icmp.c | 507 connp->conn_ixa->ixa_flags |= IXAF_SCOPEID_SET; in rawip_do_bind() 511 connp->conn_ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in rawip_do_bind() 577 connp->conn_ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in rawip_do_bind() 877 ixa->ixa_flags |= IXAF_SCOPEID_SET; in rawip_do_connect() 881 ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in rawip_do_connect() 1206 if (ixa->ixa_flags & IXAF_PMTU_IPV4_DF) { in icmp_icmp_input() 1725 connp->conn_ixa->ixa_flags |= IXAF_VERIFY_SOURCE; in rawip_do_open() 1729 connp->conn_ixa->ixa_flags &= ~IXAF_IS_IPV4; in rawip_do_open() 1740 connp->conn_ixa->ixa_flags |= IXAF_IS_IPV4; in rawip_do_open() 1757 connp->conn_ixa->ixa_flags |= IXAF_MULTICAST_LOOP | IXAF_SET_ULP_CKSUM; in rawip_do_open() [all …]
|
H A D | ip_ftable.c | 607 ixas.ixa_flags = IXAF_NO_IPSEC | IXAF_DONTFRAG | IXAF_NO_PFHOOK; in ipfil_sendpkt() 617 ixas.ixa_flags |= IXAF_IS_IPV4; in ipfil_sendpkt() 620 ixas.ixa_flags |= IXAF_NEXTHOP_SET; in ipfil_sendpkt() 630 ixas.ixa_flags |= IXAF_NEXTHOP_SET; in ipfil_sendpkt() 1073 iaflags_t ixaflags = ixa->ixa_flags; in ip_select_route() 1077 boolean_t isv6 = !(ixa->ixa_flags & IXAF_IS_IPV4); in ip_select_route() 1086 (ixa->ixa_flags & IXAF_VERIFY_SOURCE)); in ip_select_route() 1342 if (ixa->ixa_flags & IXAF_IS_IPV4) { in ip_select_route_pkt() 1367 ASSERT(ixa->ixa_flags & IXAF_IS_IPV4); in ip_select_route_v4()
|
H A D | ip_attr.c | 253 ixm->ixm_flags = ixa->ixa_flags; in ip_xmit_attr_to_mblk() 279 if (ixa->ixa_flags & IXAF_IPSEC_SECURE) { in ip_xmit_attr_to_mblk() 391 ixa->ixa_flags = ixm->ixm_flags; in ip_xmit_attr_from_mblk() 902 ixa->ixa_flags &= ~IXAF_IPSEC_SECURE; in ixa_safe_copy() 1093 if (ixa->ixa_flags & IXAF_IPSEC_SECURE) { in ixa_cleanup() 1167 !(ixa->ixa_flags & IXAF_IS_IPV4)); in ixa_cleanup_stale()
|
H A D | spd.c | 4070 ixa->ixa_flags |= IXAF_IPSEC_SECURE; in ipsec_in_to_out() 4072 ixa->ixa_flags |= IXAF_NO_IPSEC; in ipsec_in_to_out() 4080 if (!(ixa->ixa_flags & IXAF_IPSEC_SECURE)) in ipsec_out_release_refs() 4110 ixa->ixa_flags &= ~IXAF_IPSEC_SECURE; in ipsec_out_release_refs() 4158 ira->ira_flags = ixa->ixa_flags & IAF_MASK; in ipsec_out_to_in() 4173 if (!(ixa->ixa_flags & IXAF_IPSEC_SECURE)) in ipsec_out_to_in() 4253 ixa->ixa_flags |= IXAF_IPSEC_SECURE; in ip_output_attach_policy() 4255 ixa->ixa_flags |= IXAF_IPSEC_GLOBAL_POLICY; in ip_output_attach_policy() 4257 ixa->ixa_flags &= ~IXAF_IPSEC_SECURE; in ip_output_attach_policy() 4319 connp->conn_ixa->ixa_flags &= ~IXAF_IPSEC_SECURE; in ipsec_conn_cache_policy() [all …]
|
H A D | ip6.c | 480 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in icmp_send_reply_v6() 495 ixas.ixa_flags |= IXAF_NO_IPSEC; in icmp_send_reply_v6() 506 ixas.ixa_flags |= IXAF_SCOPEID_SET; in icmp_send_reply_v6() 519 ixas.ixa_flags |= IXAF_SET_SOURCE; in icmp_send_reply_v6() 524 ixas.ixa_flags |= IXAF_PMTU_DISCOVERY; in icmp_send_reply_v6() 1268 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V6; in icmp_pkt_v6() 1282 ixas.ixa_flags |= IXAF_SCOPEID_SET; in icmp_pkt_v6() 1308 ixas.ixa_flags |= IXAF_NO_IPSEC; in icmp_pkt_v6() 1335 ixas.ixa_flags |= IXAF_SET_SOURCE; in icmp_pkt_v6() 1365 ixas.ixa_flags |= IXAF_TRUSTED_ICMP; in icmp_pkt_v6() [all …]
|
H A D | ip.c | 1696 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in icmp_send_reply_v4() 1711 ixas.ixa_flags |= IXAF_NO_IPSEC; in icmp_send_reply_v4() 1725 ixas.ixa_flags |= IXAF_SET_SOURCE; in icmp_send_reply_v4() 1729 ixas.ixa_flags |= IXAF_PMTU_DISCOVERY; in icmp_send_reply_v4() 2796 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; in icmp_pkt() 2824 ixas.ixa_flags |= IXAF_NO_IPSEC; in icmp_pkt() 2843 ixas.ixa_flags |= IXAF_SET_SOURCE; in icmp_pkt() 2915 ixas.ixa_flags |= IXAF_TRUSTED_ICMP; in icmp_pkt() 3404 ASSERT(ixa->ixa_flags & IXAF_IS_IPV4); in ip_set_destination_v4() 3529 ixa->ixa_flags |= IXAF_MULTIRT_MULTICAST; in ip_set_destination_v4() [all …]
|
H A D | ip_sadb.c | 103 boolean_t tunnel_mode = (ixa->ixa_flags & IXAF_IPSEC_TUNNEL); in ipsec_getassocbyconn() 583 ASSERT(ixa->ixa_flags & IXAF_IPSEC_SECURE); in ipsec_outbound_sa() 602 if (ixa->ixa_flags & IXAF_IS_IPV4) { in ipsec_outbound_sa()
|
H A D | ip_netinfo.c | 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()
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 724 ixa->ixa_flags |= IXAF_PMTU_DISCOVERY; in iptun_bind() 742 ixa->ixa_flags |= IXAF_IS_IPV4; in iptun_bind() 753 ixa->ixa_flags &= ~IXAF_IS_IPV4; in iptun_bind() 766 ixa->ixa_flags |= IXAF_IS_IPV4; in iptun_bind() 794 ixa->ixa_flags |= IXAF_DONTFRAG | IXAF_PMTU_IPV4_DF; in iptun_bind() 809 ixa->ixa_flags |= IXAF_VERIFY_PMTU; in iptun_bind() 1272 connp->conn_ixa->ixa_flags |= IXAF_VERIFY_SOURCE; in iptun_conn_create() 1762 if (ixa->ixa_flags & IXAF_PMTU_TOO_SMALL) { in iptun_get_dst_pmtu() 1764 ixa->ixa_flags &= ~IXAF_DONTFRAG; in iptun_get_dst_pmtu() 1766 ixa->ixa_flags |= IXAF_DONTFRAG; in iptun_get_dst_pmtu() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_error.c | 271 ixa->ixa_flags &= ~IXAF_VERIFY_PMTU; in sctp_send_abort() 275 ixa->ixa_flags |= IXAF_IS_IPV4; in sctp_send_abort() 279 ixa->ixa_flags &= ~IXAF_IS_IPV4; in sctp_send_abort() 307 ixa->ixa_flags |= IXAF_NO_IPSEC; in sctp_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() 460 ixas.ixa_flags |= IXAF_NO_IPSEC; in sctp_ootb_send_abort()
|
H A D | sctp_shutdown.c | 289 ixas.ixa_flags = IXAF_BASIC_SIMPLE_V4; 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() 354 ixas.ixa_flags |= IXAF_NO_IPSEC; in sctp_ootb_shutdown_ack()
|
H A D | sctp_conn.c | 285 ASSERT(!(ixa->ixa_flags & IXAF_IS_IPV4)); in sctp_conn_request() 291 ixa->ixa_flags |= IXAF_SCOPEID_SET; in sctp_conn_request() 556 ixa->ixa_flags |= IXAF_SCOPEID_SET; in sctp_connect() 559 ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in sctp_connect()
|
H A D | sctp.c | 987 if (ixa->ixa_flags & IXAF_IS_IPV4) in sctp_update_pmtu() 1024 ixa->ixa_flags |= IXAF_PMTU_TOO_SMALL; in sctp_update_pmtu() 1026 if (ixa->ixa_flags & IXAF_PMTU_TOO_SMALL) in sctp_update_pmtu() 1027 ixa->ixa_flags &= ~(IXAF_DONTFRAG | IXAF_PMTU_IPV4_DF); in sctp_update_pmtu() 1034 if (ixa->ixa_flags & IXAF_IS_IPV4) { in sctp_update_pmtu() 1035 if (!(ixa->ixa_flags & IXAF_PMTU_IPV4_DF)) { in sctp_update_pmtu() 1396 connp->conn_ixa->ixa_flags |= IXAF_SET_ULP_CKSUM | IXAF_VERIFY_SOURCE | in sctp_create() 2103 connp->conn_ixa->ixa_flags |= IXAF_SET_ULP_CKSUM | IXAF_VERIFY_SOURCE | in sctp_conn_init()
|
H A D | sctp_common.c | 119 fp->sf_ixa->ixa_flags |= IXAF_PMTU_DISCOVERY; in sctp_get_dest() 1045 ASSERT(fp->sf_ixa->ixa_flags & IXAF_IS_IPV4); in sctp_v4_label() 1055 ASSERT(!(fp->sf_ixa->ixa_flags & IXAF_IS_IPV4)); in sctp_v6_label() 1794 fp->sf_ixa->ixa_flags |= IXAF_IS_IPV4; in sctp_init_faddr() 1800 fp->sf_ixa->ixa_flags &= ~IXAF_IS_IPV4; in sctp_init_faddr()
|
H A D | sctp_bind.c | 276 connp->conn_ixa->ixa_flags |= IXAF_SCOPEID_SET; in sctp_bind() 280 connp->conn_ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in sctp_bind()
|
H A D | sctp_cookie.c | 613 ixa->ixa_flags &= ~IXAF_VERIFY_PMTU; in sctp_send_initack() 616 ixa->ixa_flags |= IXAF_IS_IPV4; in sctp_send_initack() 618 ixa->ixa_flags &= ~IXAF_IS_IPV4; in sctp_send_initack()
|
H A D | sctp_opt_data.c | 1509 (sctp->sctp_primary->sf_ixa->ixa_flags & in sctp_getpeeraddrs() 1539 (fp->sf_ixa->ixa_flags & IXAF_SCOPEID_SET)) in sctp_getpeeraddrs()
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 1034 if (ixa->ixa_flags & IXAF_PMTU_IPV4_DF) { in udp_icmp_input() 1769 ixa->ixa_flags |= IXAF_UCRED_TSL; in udp_do_opt_set() 2168 if (ixa->ixa_flags & IXAF_IS_IPV4) { in udp_prepend_hdr() 2841 ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in udp_output_ancillary() 2842 ixa->ixa_flags |= IXAF_IS_IPV4; in udp_output_ancillary() 2852 ixa->ixa_flags |= IXAF_SCOPEID_SET; in udp_output_ancillary() 2854 ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in udp_output_ancillary() 2858 ixa->ixa_flags |= IXAF_IS_IPV4; in udp_output_ancillary() 2860 ixa->ixa_flags &= ~IXAF_IS_IPV4; in udp_output_ancillary() 2880 if (ixa->ixa_flags & IXAF_IS_IPV4) { in udp_output_ancillary() [all …]
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_output.c | 1305 if (ixa->ixa_flags & IXAF_IS_IPV4) { in tcp_output() 1381 connp->conn_ixa->ixa_flags |= IXAF_REACH_CONF; in tcp_output() 1383 connp->conn_ixa->ixa_flags &= ~IXAF_REACH_CONF; in tcp_output() 2019 if (ixa->ixa_flags & IXAF_IS_IPV4) { in tcp_send() 2060 if (ixa->ixa_flags & IXAF_IS_IPV4) { in tcp_send() 2211 ixa->ixa_flags |= IXAF_REACH_CONF; in tcp_send() 2213 ixa->ixa_flags &= ~IXAF_REACH_CONF; in tcp_send() 2408 if (ixa->ixa_flags & IXAF_IS_IPV4) { in tcp_xmit_ctl() 2481 if (ixa->ixa_flags & IXAF_IS_IPV4) { in tcp_xmit_ctl() 2563 ixa->ixa_flags |= IXAF_SET_ULP_CKSUM | IXAF_VERIFY_SOURCE; in tcp_xmit_early_reset() [all …]
|
H A D | tcp.c | 628 connp->conn_ixa->ixa_flags |= IXAF_PMTU_DISCOVERY; in tcp_set_destination() 1713 connp->conn_ixa->ixa_flags |= IXAF_SCOPEID_SET; in tcp_connect_ipv6() 1716 connp->conn_ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in tcp_connect_ipv6() 1824 if (connp->conn_ixa->ixa_flags & IXAF_SCOPEID_SET) in tcp_disconnect_common() 2516 ixaflags = ixa->ixa_flags; in tcp_update_pmtu() 2569 ixa->ixa_flags = ixaflags; in tcp_update_pmtu() 2707 connp->conn_ixa->ixa_flags |= IXAF_SET_ULP_CKSUM | IXAF_VERIFY_SOURCE | in tcp_create_common() 2711 connp->conn_ixa->ixa_flags |= IXAF_NO_DEV_FLOW_CTL; in tcp_create_common() 3215 else if ((do_tcpzcopy == 1) && (ixa->ixa_flags & IXAF_ZCOPY_CAPAB)) in tcp_zcopy_check() 3221 ixa->ixa_flags |= IXAF_VERIFY_ZCOPY; in tcp_zcopy_check() [all …]
|
H A D | tcp_bind.c | 618 ixa->ixa_flags |= IXAF_SCOPEID_SET; in tcp_bind_check() 622 ixa->ixa_flags &= ~IXAF_SCOPEID_SET; in tcp_bind_check()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | sadb.h | 613 (((ixa)->ixa_flags & IXAF_IPSEC_TUNNEL) ? \ 617 (((ixa)->ixa_flags & IXAF_IPSEC_TUNNEL) ? \
|