/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdssubr.c | 300 ip_stack_t *ipst; local 302 ipst = netstack_find_by_zoneid(GLOBAL_ZONEID)->netstack_ip; 303 ASSERT(ipst != NULL); 304 if (ip_laddr_verify_v4(addr, ALL_ZONES, ipst, B_FALSE) == IPVL_BAD) { 305 netstack_rele(ipst->ips_netstack); 308 netstack_rele(ipst->ips_netstack);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6.c | 204 ip_stack_t *ipst = ill->ill_ipst; local 272 !ipst->ips_ipv6_resp_echo_mcast) 327 if (ipst->ips_ipv6_ignore_redirect) 351 if (ipst->ips_ipcl_proto_fanout_v6[IPPROTO_ICMPV6].connf_head != NULL) { 437 ip_stack_t *ipst = ill->ill_ipst; local 469 ip6h->ip6_hops = ipst->ips_ipv6_def_hops; 484 ixas.ixa_ipst = ipst; 521 if (ipst->ips_ipv6_icmp_return_pmtu) 544 ip_stack_t *ipst = ill->ill_ipst; local 604 ill->ill_phyint->phyint_ifindex, ipst); 676 ip_stack_t *ipst = ill->ill_ipst; local 777 ip_stack_t *ipst = ill->ill_ipst; local 1029 ip_stack_t *ipst = ill->ill_ipst; local 1272 ip_stack_t *ipst = ill->ill_ipst; local 1487 ip_stack_t *ipst = ill->ill_ipst; local 1570 ip_stack_t *ipst = ill->ill_ipst; local 1648 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local 1868 ip_laddr_verify_v6(const in6_addr_t *v6src, zoneid_t zoneid, ip_stack_t *ipst, boolean_t allow_mcbc, uint_t scopeid) argument 1975 ip_stack_t *ipst = ixa->ixa_ipst; local 2305 ip_stack_t *ipst = ill->ill_ipst; local 2403 ip_stack_t *ipst = ill->ill_ipst; local 2489 ip_stack_t *ipst = ill->ill_ipst; local 2876 ip_stack_t *ipst = ill->ill_ipst; local 3075 ip_stack_t *ipst = ill->ill_ipst; local 3244 ip_stack_t *ipst = ill->ill_ipst; local 3318 ip_stack_t *ipst = ill->ill_ipst; local 4015 ip_source_routed_v6(ip6_t *ip6h, mblk_t *mp, ip_stack_t *ipst) argument 4122 ip_stack_t *ipst = ill->ill_ipst; local 4328 ip_stack_t *ipst = ixa->ixa_ipst; local [all...] |
H A D | ip2mac.c | 185 ip_stack_t *ipst; local 206 ipst = ns->netstack_ip; 210 ill = ill_lookup_on_ifindex(ip2m->ip2mac_ifindex, isv6, ipst); 388 ip_stack_t *ipst; local 402 ipst = ns->netstack_ip; 406 ncec_walk(NULL, ip2mac_cancel_callback, &ip2m_wdata, ipst);
|
H A D | conn_opt.c | 111 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local 123 IP_STAT(ipst, conn_in_recvdstaddr); 134 IP_STAT(ipst, conn_in_recvpktinfo); 141 IP_STAT(ipst, conn_in_recvopts); 145 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local 151 ipst); 159 IP_STAT(ipst, conn_in_recvslla); 164 IP_STAT(ipst, conn_in_recvif); 175 IP_STAT(ipst, conn_in_recvpktinfo); 180 IP_STAT(ipst, conn_in_recvhoplimi 285 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local 335 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local 594 ip_stack_t *ipst = ixa->ixa_ipst; local 1186 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local 1506 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local [all...] |
H A D | ip_arp.c | 119 #define ARP_HOOK_IN(_hook, _event, _ilp, _hdr, _fm, _m, ipst) \ 124 info.hpe_protocol = ipst->ips_arp_net_data; \ 130 if (hook_run(ipst->ips_arp_net_data->netd_hooks, \ 144 #define ARP_HOOK_OUT(_hook, _event, _olp, _hdr, _fm, _m, ipst) \ 149 info.hpe_protocol = ipst->ips_arp_net_data; \ 155 if (hook_run(ipst->ips_arp_net_data->netd_hooks, \ 823 ip_stack_t *ipst; local 835 ipst = ill->ill_ipst; 850 rw_enter(&ipst->ips_ill_g_lock, RW_READER); 853 rw_exit(&ipst 1446 ip_stack_t *ipst = ill->ill_ipst; local 1951 ip_stack_t *ipst = arl->arl_ipst; local 2016 ip_stack_t *ipst = ill->ill_ipst; local 2331 ip_stack_t *ipst; local [all...] |
H A D | tn_ipopt.c | 469 uchar_t *opt_storage, ip_stack_t *ipst) 496 MATCH_IRE_SECATTR, IRR_ALLOCATE, 0, ipst, NULL, &attrp, 817 uint_t mac_mode, boolean_t zone_is_global, ip_stack_t *ipst, 851 ipha->ipha_dst, opt_storage, ipst)) != 0) { 858 ipha->ipha_dst, opt_storage, ipst)) != 0) { 971 const in6_addr_t *dst, uchar_t *opt_storage, ip_stack_t *ipst) 1007 MATCH_IRE_SECATTR, IRR_ALLOCATE, 0, ipst, NULL, &attrp, 1368 uint_t mac_mode, boolean_t zone_is_global, ip_stack_t *ipst, 1408 &ip6h->ip6_dst, opt_storage, ipst)) != 0) { 1415 &ip6h->ip6_dst, opt_storage, ipst)) ! 468 tsol_compute_label_v4(const ts_label_t *tsl, zoneid_t zoneid, ipaddr_t dst, uchar_t *opt_storage, ip_stack_t *ipst) argument 816 tsol_check_label_v4(const ts_label_t *tsl, zoneid_t zoneid, mblk_t **mpp, uint_t mac_mode, boolean_t zone_is_global, ip_stack_t *ipst, ts_label_t **effective_tslp) argument 970 tsol_compute_label_v6(const ts_label_t *tsl, zoneid_t zoneid, const in6_addr_t *dst, uchar_t *opt_storage, ip_stack_t *ipst) argument 1367 tsol_check_label_v6(const ts_label_t *tsl, zoneid_t zoneid, mblk_t **mpp, uint_t mac_mode, boolean_t zone_is_global, ip_stack_t *ipst, ts_label_t **effective_tslp) argument [all...] |
H A D | ip_multi.c | 355 ip_stack_t *ipst = ilm->ilm_ipst; local 363 ipcl_walk(ilm_bld_flists, (caddr_t)&fbld, ipst); 1146 ip_join_allmulti(uint_t ifindex, boolean_t isv6, ip_stack_t *ipst) argument 1152 ill = ill_lookup_on_ifindex(ifindex, isv6, ipst); 1201 ip_leave_allmulti(uint_t ifindex, boolean_t isv6, ip_stack_t *ipst) argument 1206 ill = ill_lookup_on_ifindex(ifindex, isv6, ipst); 1729 zoneid_t zoneid, ip_stack_t *ipst, int *errorp) 1739 B_FALSE, ipst); 1743 ipif = ipif_lookup_addr(ifaddr, NULL, zoneid, ipst); 1752 ill = ill_lookup_group_v4(v4group, zoneid, ipst, NUL 1728 ill_mcast_lookup(const in6_addr_t *group, ipaddr_t ifaddr, uint_t ifindex, zoneid_t zoneid, ip_stack_t *ipst, int *errorp) argument 1796 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local 2327 ip_stack_t *ipst; local 3365 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local 3541 update_conn_ill(ill_t *ill, ip_stack_t *ipst) argument [all...] |
H A D | ip6_rts.c | 199 int flags, int error, int rtm_addrs, ip_stack_t *ipst) 216 rts_queue_input(mp, NULL, AF_INET6, RTSQ_ALL, ipst); 196 ip_rts_change_v6(int type, const in6_addr_t *dst_addr, const in6_addr_t *gw_addr, const in6_addr_t *net_mask, const in6_addr_t *source, const in6_addr_t *author, int flags, int error, int rtm_addrs, ip_stack_t *ipst) argument
|
H A D | ip_attr.c | 327 ip_stack_t *ipst; local 347 ipst = ns->netstack_ip; 351 !(ixm->ixm_flags & IXAF_IS_IPV4), ipst); 384 ixa->ixa_ipst = ipst; 587 ip_stack_t *ipst = NULL; local 607 ipst = ns->netstack_ip; 611 !(irm->irm_flags & IRAF_IS_IPV4), ipst); 617 !(irm->irm_flags & IRAF_IS_IPV4), ipst);
|
H A D | tnet.c | 1469 ip_stack_t *ipst = ire->ire_ipst; local 1687 CONN_MAC_DEFAULT, B_FALSE, ipst, &effective_tsl); 1690 CONN_MAC_DEFAULT, B_FALSE, ipst, &effective_tsl); 1693 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsOutDiscards); 1958 ip_stack_t *ipst) 1972 if (ipst->ips_netstack->netstack_stackid != GLOBAL_NETSTACKID) 1992 0, ipst, NULL); 2000 0, ipst, NULL); 2014 ip_zoneid, ipst); 2017 NULL, ip_zoneid, ipst); 1957 tsol_mlp_addr_type(zoneid_t zoneid, uchar_t version, const void *addr, ip_stack_t *ipst) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ip_impl.h | 173 #define IP_REAL_ZONEID(zoneid, ipst) \ 175 netstackid_to_zoneid((ipst)->ips_netstack->netstack_stackid) : \
|
H A D | ip.h | 184 #define WE_ARE_FORWARDING(ipst) ((ipst)->ips_ip_forwarding == IP_FORWARD_ALWAYS) 1395 #define IP_V4_ILL_G_LIST(ipst) \ 1396 (ipst)->ips_ill_g_heads[IP_V4_G_HEAD].ill_g_list_head 1397 #define IP_V6_ILL_G_LIST(ipst) \ 1398 (ipst)->ips_ill_g_heads[IP_V6_G_HEAD].ill_g_list_head 1399 #define IP_VX_ILL_G_LIST(i, ipst) \ 1400 (ipst)->ips_ill_g_heads[i].ill_g_list_head 1402 #define ILL_START_WALK_V4(ctx_ptr, ipst) \ 1403 ill_first(IP_V4_G_HEAD, IP_V4_G_HEAD, ctx_ptr, ipst) [all...] |
H A D | ipclassifier.h | 564 #define IPCL_CONN_HASH(src, ports, ipst) \ 566 ((ports) >> 8) ^ (ports)) % (ipst)->ips_ipcl_conn_fanout_size) 568 #define IPCL_CONN_HASH_V6(src, ports, ipst) \ 569 IPCL_CONN_HASH(V4_PART_OF_V6((src)), (ports), (ipst)) 587 #define IPCL_BIND_HASH(lport, ipst) \ 589 (ipst)->ips_ipcl_bind_fanout_size) 651 #define IPCL_UDP_HASH(lport, ipst) \ 652 IPCL_PORT_HASH(lport, (ipst)->ips_ipcl_udp_fanout_size) 657 #define IPCL_RAW_HASH(lport, ipst) \ 658 IPCL_PORT_HASH(lport, (ipst) [all...] |
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_cluster.c | 107 ip_stack_t *ipst = tcps->tcps_netstack->netstack_ip; local 112 connfp = &ipst->ips_ipcl_globalhash_fanout[i];
|
H A D | tcp_fusion.c | 88 ip_stack_t *ipst = tcps->tcps_netstack->netstack_ip; local 113 (ipha_t *)iphdr, tcpha, ipst); 116 (ip6_t *)iphdr, tcpha, ipst); 158 ipst = ns->netstack_ip; 451 ip_stack_t *ipst = ns->netstack_ip; local 499 hooks_out = HOOKS4_INTERESTED_LOOPBACK_OUT(ipst); 500 hooks_in = HOOKS4_INTERESTED_LOOPBACK_IN(ipst); 501 ipobs_enabled = (ipst->ips_ip4_observe.he_interested != 0); 506 hooks_out = HOOKS6_INTERESTED_LOOPBACK_OUT(ipst); 507 hooks_in = HOOKS6_INTERESTED_LOOPBACK_IN(ipst); [all...] |
H A D | tcp_bind.c | 530 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local 572 laddr_type = ip_laddr_verify_v4(v4addr, zoneid, ipst, 588 zoneid, ipst, B_FALSE); 595 zoneid, ipst, B_FALSE, scopeid);
|
H A D | tcp_misc.c | 288 ip_stack_t *ipst = tcps->tcps_netstack->netstack_ip; local 290 connfp = &ipst->ips_ipcl_conn_fanout[index]; 361 ip_stack_t *ipst = tcps->tcps_netstack->netstack_ip; local 395 index < ipst->ips_ipcl_conn_fanout_size;
|
H A D | tcp_stats.c | 116 ip_stack_t *ipst; local 141 ipst = connp->conn_netstack->netstack_ip; 171 ipst = tcps->tcps_netstack->netstack_ip; 173 connfp = &ipst->ips_ipcl_globalhash_fanout[i]; 554 ip_stack_t *ipst; local 575 ipst = ns->netstack_ip; 578 connfp = &ipst->ips_ipcl_globalhash_fanout[i];
|
H A D | tcp_time_wait.c | 694 ip_stack_t *ipst = tcps->tcps_netstack->netstack_ip; local 747 nconnp = ipcl_classify(mp, ira, ipst); 751 tcp_reinput(nconnp, mp, ira, ipst);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_error.c | 299 ip_stack_t *ipst = sctps->sctps_netstack->netstack_ip; local 301 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsOutDiscards); 324 ip_recv_attr_t *ira, ip_stack_t *ipst) 336 netstack_t *ns = ipst->ips_netstack; 434 ixas.ixa_ipst = ipst; 451 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsOutDiscards); 322 sctp_ootb_send_abort(uint32_t vtag, uint16_t serror, char *details, size_t len, const mblk_t *inmp, int iserror, boolean_t tbit, ip_recv_attr_t *ira, ip_stack_t *ipst) argument
|
H A D | sctp_shutdown.c | 226 ip_stack_t *ipst) 236 netstack_t *ns = ipst->ips_netstack; 336 ixas.ixa_ipst = ipst; 345 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsOutDiscards); 225 sctp_ootb_shutdown_ack(mblk_t *mp, uint_t ip_hdr_len, ip_recv_attr_t *ira, ip_stack_t *ipst) argument
|
H A D | sctp_input.c | 3362 sctp_check_in_policy(mblk_t *mp, ip_recv_attr_t *ira, ip_stack_t *ipst) argument 3367 netstack_t *ns = ipst->ips_netstack; 3395 sctp_ootb_input(mblk_t *mp, ip_recv_attr_t *ira, ip_stack_t *ipst) argument 3412 sctps = ipst->ips_netstack->netstack_sctp; 3423 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsInDiscards); 3449 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsInDiscards); 3458 if (secure && sctp_check_in_policy(mp, ira, ipst) == NULL) 3461 NULL, 0, mp, 0, B_TRUE, ira, ipst); 3490 if (secure && sctp_check_in_policy(mp, ira, ipst) == NULL) 3492 sctp_ootb_shutdown_ack(mp, ip_hdr_len, ira, ipst); 3520 ip_stack_t *ipst = ill->ill_ipst; local 3621 ip_stack_t *ipst = sctps->sctps_netstack->netstack_ip; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ipnet/ |
H A D | ipnet.c | 920 ip_stack_t *ipst = ips->ips_netstack->netstack_ip; local 928 err = ip_join_allmulti(index, B_FALSE, ipst); 934 err = ip_join_allmulti(index, B_TRUE, ipst); 937 (void) ip_leave_allmulti(index, B_FALSE, ipst); 955 ip_stack_t *ipst = ips->ips_netstack->netstack_ip; local 962 err = ip_leave_allmulti(index, B_FALSE, ipst); 967 err = ip_leave_allmulti(index, B_TRUE, ipst); 1969 ip_stack_t *ipst = ns->netstack_ip; local 1983 (void) net_hook_register(ipst->ips_ip4_observe_pr, NH_OBSERVE, hook); 1984 (void) net_hook_register(ipst 1992 ip_stack_t *ipst = ns->netstack_ip; local 2180 ip_stack_t *ipst; local 2252 ip_stack_t *ipst; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdsv3_impl.c | 497 ip_stack_t *ipst; local 499 ipst = netstack_find_by_zoneid(GLOBAL_ZONEID)->netstack_ip; 500 ASSERT(ipst != NULL); 501 if (ip_type_v4(addr, ipst) != IRE_LOOPBACK) { 502 netstack_rele(ipst->ips_netstack); 505 netstack_rele(ipst->ips_netstack);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 110 ip_stack_t *ipst; member in struct:zi_cbdata_s 307 zi_cb->ipst = ns.netstack_ip; 320 zi_cb.ipst = NULL; 334 if (zi_cb.ipst == NULL) { 339 return (zi_cb.ipst); 1531 ip_stack_t *ipst = NULL; local 1541 ipst = zone_to_ips(zone_name); 1542 if (ipst == NULL) 1566 (uintptr_t)ipst) == -1) { 1583 ip_stack_t *ipst local 2649 ip_stack_t *ipst = NULL; local [all...] |