Searched refs:ipst (Results 1 - 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_netinfo.c253 ip_net_init(ip_stack_t *ipst, netstack_t *ns) argument
260 ipst->ips_ipv4_net_data = net_protocol_register(id, &ipv4info);
261 ASSERT(ipst->ips_ipv4_net_data != NULL);
263 ipst->ips_ipv6_net_data = net_protocol_register(id, &ipv6info);
264 ASSERT(ipst->ips_ipv6_net_data != NULL);
266 ipst->ips_arp_net_data = net_protocol_register(id, &arp_netinfo);
267 ASSERT(ipst->ips_ipv6_net_data != NULL);
275 ip_net_destroy(ip_stack_t *ipst) argument
277 if (ipst->ips_ipv4_net_data != NULL) {
278 if (net_protocol_unregister(ipst
297 ipv4_hook_init(ip_stack_t *ipst) argument
367 ipv4_hook_shutdown(ip_stack_t *ipst) argument
409 ipv4_hook_destroy(ip_stack_t *ipst) argument
461 ipv6_hook_init(ip_stack_t *ipst) argument
531 ipv6_hook_shutdown(ip_stack_t *ipst) argument
573 ipv6_hook_destroy(ip_stack_t *ipst) argument
648 ip_getifname_impl(phy_if_t phy_ifdata, char *buffer, const size_t buflen, boolean_t isv6, ip_stack_t *ipst) argument
695 ip_getmtu_impl(phy_if_t phy_ifdata, lif_if_t ifdata, boolean_t isv6, ip_stack_t *ipst) argument
797 ip_phylookup_impl(const char *name, boolean_t isv6, ip_stack_t *ipst) argument
846 ip_lifgetnext_impl(phy_if_t phy_ifdata, lif_if_t ifdata, boolean_t isv6, ip_stack_t *ipst) argument
935 ip_inject_impl(inject_t style, net_inject_t *packet, boolean_t isv6, ip_stack_t *ipst) argument
1064 ip_routeto_impl(struct sockaddr *address, struct sockaddr *nexthop, ip_stack_t *ipst) argument
1256 ip_getlifaddr_impl(sa_family_t family, phy_if_t phy_ifdata, lif_if_t ifdata, size_t nelem, net_ifaddr_t type[], struct sockaddr *storage, ip_stack_t *ipst) argument
1372 ip_getlifzone_impl(sa_family_t family, phy_if_t phy_ifdata, lif_if_t ifdata, ip_stack_t *ipst, zoneid_t *zoneid) argument
1413 ip_getlifflags_impl(sa_family_t family, phy_if_t phy_ifdata, lif_if_t ifdata, ip_stack_t *ipst, uint64_t *flags) argument
1481 ip_stack_t *ipst = (ip_stack_t *)inject->inj_ptr; local
1528 ip_stack_t *ipst; local
1555 arp_hook_init(ip_stack_t *ipst) argument
1590 arp_hook_destroy(ip_stack_t *ipst) argument
1615 arp_hook_shutdown(ip_stack_t *ipst) argument
[all...]
H A Dip6_asp.c90 ip6_asp_init(ip_stack_t *ipst) argument
93 mutex_init(&ipst->ips_ip6_asp_lock, NULL, MUTEX_DEFAULT, NULL);
95 ipst->ips_ip6_asp_table = default_ip6_asp_table;
97 ipst->ips_ip6_asp_table_count =
102 ip6_asp_free(ip_stack_t *ipst) argument
104 if (ipst->ips_ip6_asp_table != default_ip6_asp_table) {
105 kmem_free(ipst->ips_ip6_asp_table,
106 ipst->ips_ip6_asp_table_count * sizeof (ip6_asp_t));
107 ipst->ips_ip6_asp_table = NULL;
109 mutex_destroy(&ipst
117 ip6_asp_can_lookup(ip_stack_t *ipst) argument
134 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
155 ip6_asp_complete_op(ip_stack_t *ipst) argument
188 ip6_asp_table_refrele(ip_stack_t *ipst) argument
205 ip6_asp_lookup(const in6_addr_t *addr, uint32_t *precedence, ip_stack_t *ipst) argument
238 ip6_asp_check_for_updates(ip_stack_t *ipst) argument
281 ip6_asp_replace(mblk_t *mp, ip6_asp_t *new_table, size_t new_size, boolean_t locked, ip_stack_t *ipst, model_t datamodel) argument
493 ip6_asp_get(ip6_asp_t *dtable, size_t dtable_size, ip_stack_t *ipst) argument
[all...]
H A Dip_srcid.c119 ip_srcid_insert(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) argument
129 rw_enter(&ipst->ips_srcid_lock, RW_WRITER);
130 smpp = srcid_lookup_addr(addr, zoneid, ipst);
135 rw_exit(&ipst->ips_srcid_lock);
141 rw_exit(&ipst->ips_srcid_lock);
146 (*smpp)->sm_srcid = srcid_nextid(ipst);
150 rw_exit(&ipst->ips_srcid_lock);
159 ip_srcid_remove(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) argument
170 rw_enter(&ipst->ips_srcid_lock, RW_WRITER);
171 smpp = srcid_lookup_addr(addr, zoneid, ipst);
205 ip_stack_t *ipst = ns->netstack_ip; local
242 ip_stack_t *ipst = ns->netstack_ip; local
274 srcid_nextid(ip_stack_t *ipst) argument
304 srcid_lookup_addr(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) argument
326 srcid_lookup_id(uint_t id, ip_stack_t *ipst) argument
[all...]
H A Dip_mroute.c335 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
337 mutex_enter(&ipst->ips_ip_g_mrouter_mutex);
338 if (cmd != MRT_INIT && connp != ipst->ips_ip_g_mrouter) {
339 mutex_exit(&ipst->ips_ip_g_mrouter_mutex);
342 mutex_exit(&ipst->ips_ip_g_mrouter_mutex);
370 if (is_mrouter_off(ipst))
375 case MRT_INIT: return (ip_mrouter_init(connp, data, datalen, ipst));
376 case MRT_DONE: return (ip_mrouter_done(ipst));
377 case MRT_ADD_VIF: return (add_vif((struct vifctl *)data, connp, ipst));
378 case MRT_DEL_VIF: return (del_vif((vifi_t *)data, ipst));
392 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
416 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
437 get_sg_cnt(struct sioc_sg_req *req, ip_stack_t *ipst) argument
465 get_lsg_cnt(struct sioc_lsg_req *req, ip_stack_t *ipst) argument
475 get_vif_cnt(struct sioc_vif_req *req, ip_stack_t *ipst) argument
507 set_assert(int *i, ip_stack_t *ipst) argument
521 get_assert(uchar_t *data, ip_stack_t *ipst) argument
534 ip_mrouter_init(conn_t *connp, uchar_t *data, int datalen, ip_stack_t *ipst) argument
577 ip_mrouter_stack_init(ip_stack_t *ipst) argument
608 ip_mrouter_done(ip_stack_t *ipst) argument
749 ip_mrouter_stack_destroy(ip_stack_t *ipst) argument
781 is_mrouter_off(ip_stack_t *ipst) argument
835 add_vif(struct vifctl *vifcp, conn_t *connp, ip_stack_t *ipst) argument
1043 ip_stack_t *ipst = vifp->v_ipif->ipif_ill->ill_ipst; local
1099 del_vif(vifi_t *vifip, ip_stack_t *ipst) argument
1160 add_mfc(struct mfcctl *mfccp, ip_stack_t *ipst) argument
1359 fill_route(struct mfc *rt, struct mfcctl *mfccp, ip_stack_t *ipst) argument
1434 del_mfc(struct mfcctl *mfccp, ip_stack_t *ipst) argument
1538 ip_stack_t *ipst = ill->ill_ipst; local
1918 ip_stack_t *ipst; local
1983 ip_stack_t *ipst = ill->ill_ipst; local
2167 ip_stack_t *ipst = vifp->v_ipif->ipif_ill->ill_ipst; local
2202 ip_stack_t *ipst = ill->ill_ipst; local
2337 ip_stack_t *ipst = ill->ill_ipst; local
2487 ip_stack_t *ipst = ill->ill_ipst; local
2541 ip_stack_t *ipst = vifp->v_ipif->ipif_ill->ill_ipst; local
2616 ip_stack_t *ipst = ill->ill_ipst; local
2751 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
2774 ip_stack_t *ipst = ill->ill_ipst; local
2833 ip_stack_t *ipst = ill->ill_ipst; local
2937 ip_stack_t *ipst = vifp->v_ipif->ipif_ill->ill_ipst; local
2973 ip_stack_t *ipst = vifp->v_ipif->ipif_ill->ill_ipst; local
3019 ip_stack_t *ipst = vifp->v_ipif->ipif_ill->ill_ipst; local
3055 ip_stack_t *ipst = ill->ill_ipst; local
3101 ip_stack_t *ipst = ill->ill_ipst; local
3205 ip_stack_t *ipst = vifp->v_ipif->ipif_ill->ill_ipst; local
3247 ip_stack_t *ipst = vifp->v_ipif->ipif_ill->ill_ipst; local
3299 ip_mroute_stats(mblk_t *mp, ip_stack_t *ipst) argument
3316 ip_mroute_vif(mblk_t *mp, ip_stack_t *ipst) argument
3352 ip_mroute_mrt(mblk_t *mp, ip_stack_t *ipst) argument
[all...]
H A Dip_dce.c130 dcb_reclaim(dcb_t *dcb, ip_stack_t *ipst, uint_t fraction) argument
137 uint_t max = ipst->ips_ip_dce_reclaim_threshold;
148 ipst->ips_ip_pathmtu_interval) {
172 IP_STAT(ipst, ip_dce_reclaim_deleted);
184 ip_dce_reclaim_stack(ip_stack_t *ipst) argument
188 IP_STAT(ipst, ip_dce_reclaim_calls);
189 for (i = 0; i < ipst->ips_dce_hashsize; i++) {
190 dcb_reclaim(&ipst->ips_dce_hash_v4[i], ipst,
191 ipst
215 ip_stack_t *ipst; local
302 dce_stack_init(ip_stack_t *ipst) argument
330 dce_stack_destroy(ip_stack_t *ipst) argument
352 dce_get_default(ip_stack_t *ipst) argument
405 dce_lookup_v4(ipaddr_t dst, ip_stack_t *ipst, uint_t *generationp) argument
445 dce_lookup_v6(const in6_addr_t *dst, uint_t ifindex, ip_stack_t *ipst, uint_t *generationp) argument
488 dce_lookup_and_add_v4(ipaddr_t dst, ip_stack_t *ipst) argument
554 dce_lookup_and_add_v6(const in6_addr_t *dst, uint_t ifindex, ip_stack_t *ipst) argument
681 dce_update_uinfo_v4(ipaddr_t dst, iulp_t *uinfo, ip_stack_t *ipst) argument
695 dce_update_uinfo_v6(const in6_addr_t *dst, uint_t ifindex, iulp_t *uinfo, ip_stack_t *ipst) argument
711 dce_update_uinfo(const in6_addr_t *dst, uint_t ifindex, iulp_t *uinfo, ip_stack_t *ipst) argument
727 ip_stack_t *ipst = dce->dce_ipst; local
761 dce_increment_all_generations(boolean_t isv6, ip_stack_t *ipst) argument
803 ip_stack_t *ipst = dce->dce_ipst; local
849 ip_snmp_get_mib2_ip_dce(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
955 dce_cleanup(uint_t ifindex, ip_stack_t *ipst) argument
[all...]
H A Dip_tunables.c57 ip_stack_t *ipst = stack->netstack_ip; local
78 rw_enter(&ipst->ips_ill_g_lock, RW_READER);
80 ill = ILL_START_WALK_V6(&ctx, ipst);
82 ill = ILL_START_WALK_V4(&ctx, ipst);
93 rw_exit(&ipst->ips_ill_g_lock);
105 ip_stack_t *ipst = stack->netstack_ip; local
129 rw_enter(&ipst->ips_ill_g_lock, RW_READER);
131 ill = ILL_START_WALK_V6(&ctx, ipst);
133 ill = ILL_START_WALK_V4(&ctx, ipst);
143 rw_exit(&ipst
217 ip_stack_t *ipst = stack->netstack_ip; local
275 ip_stack_t *ipst = stack->netstack_ip; local
325 ip_set_src_multihoming_common(ulong_t new_value, ulong_t old_value, boolean_t isv6, ip_stack_t *ipst) argument
362 ip_stack_t *ipst = stack->netstack_ip; local
382 ip_stack_t *ipst = stack->netstack_ip; local
455 ip_stack_t *ipst = stack->netstack_ip; local
[all...]
H A Dip6_ire.c72 ip_stack_t *ipst);
82 zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst)
93 BUMP_IRE_STATS(ipst->ips_ire_stats_v6, ire_stats_alloced);
128 gc, ipst);
183 uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst)
198 type, ill, zoneid, flags, gc, ipst);
228 ip_stack_t *ipst, boolean_t *multirtp, in6_addr_t *setsrcp)
234 MATCH_IRE_DSTONLY, IRR_NONE, 0, ipst, setsrcp, NULL, NULL);
316 ip_stack_t *ipst = ire->ire_ipst; local
324 if ((ipst
80 ire_init_v6(ire_t *ire, const in6_addr_t *v6addr, const in6_addr_t *v6mask, const in6_addr_t *v6gateway, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) argument
181 ire_create_v6(const in6_addr_t *v6addr, const in6_addr_t *v6mask, const in6_addr_t *v6gateway, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) argument
227 ire_lookup_multi_ill_v6(const in6_addr_t *group, zoneid_t zoneid, ip_stack_t *ipst, boolean_t *multirtp, in6_addr_t *setsrcp) argument
505 ire_delete_host_redirects_v6(const in6_addr_t *gateway, ip_stack_t *ipst) argument
545 ip_stack_t *ipst = ire->ire_ipst; local
602 ip_stack_t *ipst = ire->ire_ipst; local
648 ip_stack_t *ipst = ire->ire_ipst; local
693 ip_stack_t *ipst = ire->ire_ipst; local
878 ire_gateway_ok_zone_v6(const in6_addr_t *gateway, zoneid_t zoneid, ill_t *ill, const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) argument
916 ire_ftable_lookup_v6(const in6_addr_t *addr, const in6_addr_t *mask, const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int flags, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) argument
1018 ire_ftable_lookup_impl_v6(const in6_addr_t *addr, const in6_addr_t *mask, const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int flags, ip_stack_t *ipst) argument
1118 ire_ftable_lookup_simple_v6(const in6_addr_t *addr, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) argument
1164 ire_route_recursive_impl_v6(ire_t *ire, const in6_addr_t *nexthop, uint_t ire_type, const ill_t *ill_arg, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, in6_addr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument
1453 ire_route_recursive_v6(const in6_addr_t *nexthop, uint_t ire_type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, in6_addr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument
1476 ire_route_recursive_dstonly_v6(const in6_addr_t *nexthop, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst) argument
[all...]
H A Dip_ftable.c79 #define IP_SRC_MULTIHOMING(isv6, ipst) \
80 (isv6 ? ipst->ips_ipv6_strict_src_multihoming : \
81 ipst->ips_ip_strict_src_multihoming)
97 int flags, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp)
145 RADIX_NODE_HEAD_RLOCK(ipst->ips_ip_ftable);
146 rt = (struct rt_entry *)ipst->ips_ip_ftable->rnh_matchaddr_args(&rdst,
147 ipst->ips_ip_ftable, ire_find_best_route, &margs);
150 RADIX_NODE_HEAD_UNLOCK(ipst->ips_ip_ftable);
165 if (ipst->ips_ip_ecmp_behavior == 2 ||
166 (ipst
95 ire_ftable_lookup_v4(ipaddr_t addr, ipaddr_t mask, ipaddr_t gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int flags, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) argument
222 ire_ftable_lookup_simple_v4(ipaddr_t addr, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) argument
341 ire_lookup_multi_ill_v4(ipaddr_t group, zoneid_t zoneid, ip_stack_t *ipst, boolean_t *multirtp, ipaddr_t *setsrcp) argument
381 ire_delete_host_redirects(ipaddr_t gateway, ip_stack_t *ipst) argument
412 ip_stack_t *ipst = ire->ire_ipst; local
483 ip_stack_t *ipst; local
518 route_to_dst(const struct sockaddr *dst_addr, zoneid_t zoneid, ip_stack_t *ipst) argument
578 ip_stack_t *ipst; local
806 ire_round_robin(irb_t *irb_ptr, ire_ftable_args_t *margs, uint_t hash, ire_t *orig_ire, ip_stack_t *ipst) argument
989 ip_select_src_ill(const in6_addr_t *v6src, zoneid_t zoneid, ip_stack_t *ipst) argument
1017 ip_stack_t *ipst; local
1069 ip_stack_t *ipst = ixa->ixa_ipst; local
1398 ire_route_recursive_impl_v4(ire_t *ire, ipaddr_t nexthop, uint_t ire_type, const ill_t *ill_arg, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, ipaddr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument
1695 ire_route_recursive_v4(ipaddr_t nexthop, uint_t ire_type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, ipaddr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument
1718 ire_route_recursive_dstonly_v4(ipaddr_t nexthop, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst) argument
[all...]
H A Dip_ire.c422 ip_stack_t *ipst; local
426 ipst = CONNQ_TO_IPST(q);
468 zoneid, NULL, MATCH_IRE_DSTONLY, 0, ipst, NULL);
474 zoneid, NULL, MATCH_IRE_DSTONLY, 0, ipst, NULL);
498 tsol_gc_t *gc, ip_stack_t *ipst)
509 BUMP_IRE_STATS(ipst->ips_ire_stats_v4, ire_stats_alloced);
545 gc, ipst);
628 ip_stack_t *ipst)
641 gc, ipst);
656 uint_t flags, uchar_t ipversion, tsol_gc_t *gc, ip_stack_t *ipst)
496 ire_init_v4(ire_t *ire, uchar_t *addr, uchar_t *mask, uchar_t *gateway, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) argument
626 ire_create(uchar_t *addr, uchar_t *mask, uchar_t *gateway, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) argument
655 ire_init_common(ire_t *ire, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, uchar_t ipversion, tsol_gc_t *gc, ip_stack_t *ipst) argument
726 ip_stack_t *ipst = ill->ill_ipst; local
777 ire_walk(pfv_t func, void *arg, ip_stack_t *ipst) argument
783 ire_walk_v4(pfv_t func, void *arg, zoneid_t zoneid, ip_stack_t *ipst) argument
789 ire_walk_v6(pfv_t func, void *arg, zoneid_t zoneid, ip_stack_t *ipst) argument
798 ire_walk_ipvers(pfv_t func, void *arg, uchar_t vers, zoneid_t zoneid, ip_stack_t *ipst) argument
837 ip_stack_t *ipst = ill->ill_ipst; local
860 ire_walk_ill_match(uint_t match_flags, uint_t ire_type, ire_t *ire, ill_t *ill, zoneid_t zoneid, ip_stack_t *ipst) argument
1008 ire_walk_ill_tables(uint_t match_flags, uint_t ire_type, pfv_t func, void *arg, size_t ftbl_sz, size_t htbl_sz, irb_t **ipftbl, ill_t *ill, zoneid_t zoneid, ip_stack_t *ipst) argument
1196 ip_stack_t *ipst = ire->ire_ipst; local
1371 ip_stack_t *ipst = ire->ire_ipst; local
1456 ip_stack_t *ipst = irb->irb_ipst; local
1493 ip_stack_t *ipst = ire->ire_ipst; local
1604 ip_stack_t *ipst = ire->ire_ipst; local
1646 ip_stack_t *ipst = ire->ire_ipst; local
1757 ip_stack_t *ipst; local
1797 ip_stack_t *ipst = ire->ire_ipst; local
1865 ip_stack_t *ipst = ire->ire_ipst; local
2042 ip_stack_t *ipst = ire->ire_ipst; local
2134 ire_gateway_ok_zone_v4(ipaddr_t gateway, zoneid_t zoneid, ill_t *ill, const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) argument
2178 ip_stack_t *ipst = ire->ire_ipst; local
2205 ip_ire_reclaim_stack(ip_stack_t *ipst) argument
2231 ip_stack_t *ipst; local
2292 ip_ire_init(ip_stack_t *ipst) argument
2359 ip_ire_fini(ip_stack_t *ipst) argument
2612 ip_stack_t *ipst = ire->ire_ipst; local
2661 ire_increment_multicast_generation(ip_stack_t *ipst, boolean_t isv6) argument
2684 ire_reject(ip_stack_t *ipst, boolean_t isv6) argument
2702 ire_blackhole(ip_stack_t *ipst, boolean_t isv6) argument
2745 ip_stack_t *ipst = ire->ire_ipst; local
2855 ip_stack_t *ipst = ire->ire_ipst; local
2919 ip_stack_t *ipst = child->ire_ipst; local
2973 ip_stack_t *ipst; local
3024 ip_stack_t *ipst; local
3123 ip_stack_t *ipst = ire->ire_ipst; local
3188 ip_stack_t *ipst = ire->ire_ipst; local
3230 ip_stack_t *ipst = ire->ire_ipst; local
3248 ip_stack_t *ipst = child->ire_ipst; local
3266 ip_stack_t *ipst = child->ire_ipst; local
3295 ip_stack_t *ipst = parent->ire_ipst; local
3546 ip_stack_t *ipst = parent->ire_ipst; local
3588 ip_stack_t *ipst = ire->ire_ipst; local
[all...]
H A Dipclassifier.c377 ipcl_init(ip_stack_t *ipst) argument
386 ipst->ips_ipcl_conn_fanout_size = ipcl_conn_hash_size;
388 ipst->ips_ipcl_conn_fanout_size = tcp_conn_hash_size;
392 ipst->ips_ipcl_conn_fanout_size =
395 if (ipst->ips_ipcl_conn_fanout_size > ipcl_conn_hash_maxsize) {
396 ipst->ips_ipcl_conn_fanout_size =
402 if (sizes[i] >= ipst->ips_ipcl_conn_fanout_size) {
406 if ((ipst->ips_ipcl_conn_fanout_size = sizes[i]) == 0) {
408 ipst->ips_ipcl_conn_fanout_size = sizes[16];
412 ipst
497 ipcl_destroy(ip_stack_t *ipst) argument
943 ipcl_iptun_classify_v4(ipaddr_t *src, ipaddr_t *dst, ip_stack_t *ipst) argument
978 ipcl_iptun_classify_v6(in6_addr_t *src, in6_addr_t *dst, ip_stack_t *ipst) argument
1009 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
1048 ipcl_iptun_hash_insert(conn_t *connp, ip_stack_t *ipst) argument
1071 ipcl_iptun_hash_insert_v6(conn_t *connp, ip_stack_t *ipst) argument
1101 check_exempt_conflict_v4(conn_t *connp, ip_stack_t *ipst) argument
1133 check_exempt_conflict_v6(conn_t *connp, ip_stack_t *ipst) argument
1184 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
1249 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
1337 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
1435 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
1528 ipcl_classify_v4(mblk_t *mp, uint8_t protocol, uint_t hdr_len, ip_recv_attr_t *ira, ip_stack_t *ipst) argument
1668 ipcl_classify_v6(mblk_t *mp, uint8_t protocol, uint_t hdr_len, ip_recv_attr_t *ira, ip_stack_t *ipst) argument
1806 ipcl_classify(mblk_t *mp, ip_recv_attr_t *ira, ip_stack_t *ipst) argument
1821 ipcl_classify_raw(mblk_t *mp, uint8_t protocol, uint32_t ports, ipha_t *ipha, ip6_t *ip6h, ip_recv_attr_t *ira, ip_stack_t *ipst) argument
2261 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
2335 ipcl_walk(pfv_t func, void *arg, ip_stack_t *ipst) argument
2378 ipcl_conn_tcp_lookup_reversed_ipv4(conn_t *connp, ipha_t *ipha, tcpha_t *tcpha, ip_stack_t *ipst) argument
2428 ipcl_conn_tcp_lookup_reversed_ipv6(conn_t *connp, ip6_t *ip6h, tcpha_t *tcpha, ip_stack_t *ipst) argument
2481 ipcl_tcp_lookup_reversed_ipv4(ipha_t *ipha, tcpha_t *tcpha, int min_state, ip_stack_t *ipst) argument
2520 ipcl_tcp_lookup_reversed_ipv6(ip6_t *ip6h, tcpha_t *tcpha, int min_state, uint_t ifindex, ip_stack_t *ipst) argument
2561 ipcl_lookup_listener_v4(uint16_t lport, ipaddr_t laddr, zoneid_t zoneid, ip_stack_t *ipst) argument
2599 ipcl_lookup_listener_v6(uint16_t lport, in6_addr_t *laddr, uint_t ifindex, zoneid_t zoneid, ip_stack_t *ipst) argument
[all...]
H A Digmp.c125 igmp_start_timers(unsigned next, ip_stack_t *ipst) argument
133 mutex_enter(&ipst->ips_igmp_timer_lock);
135 if (ipst->ips_igmp_timer_setter_active) {
143 ipst->ips_igmp_time_to_next =
144 MIN(ipst->ips_igmp_time_to_next, next);
145 mutex_exit(&ipst->ips_igmp_timer_lock);
148 ipst->ips_igmp_timer_setter_active = B_TRUE;
150 if (ipst->ips_igmp_timeout_id == 0) {
155 ipst->ips_igmp_time_to_next = next;
156 if (ipst
217 mld_start_timers(unsigned next, ip_stack_t *ipst) argument
323 ip_stack_t *ipst = ill->ill_ipst; local
491 ip_stack_t *ipst; local
630 ip_stack_t *ipst; local
773 ip_stack_t *ipst = ilm->ilm_ipst; local
855 ip_stack_t *ipst = ilm->ilm_ipst; local
1022 ip_stack_t *ipst = ilm->ilm_ipst; local
1113 ip_stack_t *ipst = ilm->ilm_ipst; local
1401 ip_stack_t *ipst = arg; local
1620 ip_stack_t *ipst = arg; local
1671 ip_stack_t *ipst = (ip_stack_t *)arg; local
1773 ip_stack_t *ipst = (ip_stack_t *)arg; local
1836 ip_stack_t *ipst = ill->ill_ipst; local
1899 ip_stack_t *ipst = ill->ill_ipst; local
2069 ip_stack_t *ipst = ill->ill_ipst; local
[all...]
H A Dipmp.c96 * Initialize IPMP state for IP stack `ipst'; called from ip_stack_init().
99 ipmp_init(ip_stack_t *ipst) argument
101 ipst->ips_ipmp_grp_hash = mod_hash_create_extended("ipmp_grp_hash",
104 rw_init(&ipst->ips_ipmp_lock, NULL, RW_DEFAULT, 0);
108 * Destroy IPMP state for IP stack `ipst'; called from ip_stack_fini().
111 ipmp_destroy(ip_stack_t *ipst) argument
113 mod_hash_destroy_hash(ipst->ips_ipmp_grp_hash);
114 rw_destroy(&ipst->ips_ipmp_lock);
128 ip_stack_t *ipst = PHYINT_TO_IPST(phyi); local
131 ASSERT(RW_WRITE_HELD(&ipst
198 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); local
277 ipmp_grp_lookup(const char *grname, ip_stack_t *ipst) argument
297 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); local
328 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); local
356 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); local
375 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); local
407 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); local
441 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); local
514 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); local
707 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
731 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
758 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
779 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
980 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
1061 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
1082 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
1108 ip_stack_t *ipst = ill->ill_ipst; local
1229 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
1430 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
1521 ip_stack_t *ipst = IPMP_ILLGRP_TO_IPST(illg); local
1651 ip_stack_t *ipst = ill->ill_ipst; local
1700 ip_stack_t *ipst = ill->ill_ipst; local
1830 ip_stack_t *ipst = ill->ill_ipst; local
1859 ip_stack_t *ipst = ill->ill_ipst; local
1887 ip_stack_t *ipst = ill->ill_ipst; local
1908 ip_stack_t *ipst = PHYINT_TO_IPST(phyi); local
1960 ip_stack_t *ipst = PHYINT_TO_IPST(phyi); local
2018 ip_stack_t *ipst = PHYINT_TO_IPST(phyi); local
2088 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
2199 ip_stack_t *ipst = ncec->ncec_ipst; local
2233 ip_stack_t *ipst = ncec->ncec_ipst; local
[all...]
H A Dip6_output.c116 ip_stack_t *ipst = ixa->ixa_ipst; local
133 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsHCOutRequests);
134 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsOutDiscards);
157 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsHCOutRequests);
158 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsOutDiscards);
170 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsHCOutRequests);
173 &ipst->ips_dce_default->dce_ident);
199 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsOutDiscards);
231 dce = dce_lookup_v6(&dst, ifindex, ipst, NULL);
243 ipst
381 ip_stack_t *ipst = ixa->ixa_ipst; local
535 ip_stack_t *ipst = ixa->ixa_ipst; local
571 ip_stack_t *ipst = ixa->ixa_ipst; local
666 ip_stack_t *ipst = ixa->ixa_ipst; local
720 ip_stack_t *ipst = ixa->ixa_ipst; local
947 ip_stack_t *ipst = ixa->ixa_ipst; local
1152 ip_stack_t *ipst = ill->ill_ipst; local
[all...]
H A Dip.c683 static mblk_t *ip_snmp_get_mib2_icmp(queue_t *, mblk_t *, ip_stack_t *ipst);
684 static mblk_t *ip_snmp_get_mib2_icmp6(queue_t *, mblk_t *, ip_stack_t *ipst);
685 static mblk_t *ip_snmp_get_mib2_igmp(queue_t *, mblk_t *, ip_stack_t *ipst);
686 static mblk_t *ip_snmp_get_mib2_multi(queue_t *, mblk_t *, ip_stack_t *ipst);
688 ip_stack_t *ipst, boolean_t);
690 ip_stack_t *ipst, boolean_t);
692 ip_stack_t *ipst);
694 ip_stack_t *ipst);
696 ip_stack_t *ipst);
698 ip_stack_t *ipst);
1234 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
1340 ip_stack_t *ipst = ill->ill_ipst; local
1677 ip_stack_t *ipst = ill->ill_ipst; local
1754 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
1880 ip_stack_t *ipst = ill->ill_ipst; local
2081 ip_stack_t *ipst = ill->ill_ipst; local
2632 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
2753 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
2787 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
2925 icmp_err_rate_limit(ip_stack_t *ipst) argument
2977 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
3060 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
3135 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
3156 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
3178 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
3245 ip_laddr_verify_v4(ipaddr_t src_addr, zoneid_t zoneid, ip_stack_t *ipst, boolean_t allow_mcbc) argument
3371 ip_stack_t *ipst = ixa->ixa_ipst; local
3715 ip_stack_t *ipst = ixa->ixa_ipst; local
3995 ip_stack_t *ipst = ill->ill_ipst; local
4158 ip_stack_t *ipst; local
4345 ip_stack_t *ipst = (ip_stack_t *)arg; local
4387 ip_stack_t *ipst = (ip_stack_t *)arg; local
4613 ip_stack_t *ipst; local
4831 ip_stack_t *ipst = ill->ill_ipst; local
4927 ip_stack_t *ipst = ill->ill_ipst; local
5020 ip_stack_t *ipst = ill->ill_ipst; local
5124 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
5207 ip_stack_t *ipst = ill->ill_ipst; local
5282 ip_stack_t *ipst = ill->ill_ipst; local
5637 ip_type_v4(ipaddr_t addr, ip_stack_t *ipst) argument
5659 ip_type_v6(const in6_addr_t *addr, ip_stack_t *ipst) argument
5717 ip_stack_t *ipst = ns->netstack_ip; local
5879 ip_stack_t *ipst; local
5971 ip_stack_t *ipst; local
6130 ip_stack_t *ipst = ns->netstack_ip; local
6312 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
6428 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
7038 ip_stack_t *ipst = ill->ill_ipst; local
7689 ip_stack_t *ipst = ill->ill_ipst; local
8042 ip_stack_t *ipst = ill->ill_ipst; local
8995 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
9162 ip_stack_t *ipst = ill->ill_ipst; local
9195 ip_stack_t *ipst = ill->ill_ipst; local
9247 ip_stack_t *ipst = ill->ill_ipst; local
9397 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
9608 ip_stack_t *ipst; local
9730 ip_snmp_get_mib2_ip(queue_t *q, mblk_t *mpctl, mib2_ipIfStatsEntry_t *ipmib, ip_stack_t *ipst, boolean_t legacy_req) argument
9828 ip_snmp_get_mib2_ip_traffic_stats(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
9918 ip_snmp_get_mib2_icmp(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9945 ip_snmp_get_mib2_igmp(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9972 ip_snmp_get_mib2_multi(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
9997 ip_snmp_get_mib2_ip_addr(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10089 ip_snmp_get_mib2_ip6_addr(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10200 ip_snmp_get_mib2_ip_group_mem(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10281 ip_snmp_get_mib2_ip6_group_mem(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10346 ip_snmp_get_mib2_ip_group_src(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10436 ip_snmp_get_mib2_ip6_group_src(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10507 ip_snmp_get_mib2_virt_multi(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10532 ip_snmp_get_mib2_multi_rtable(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10560 ip_snmp_get_mib2_ip_route_media(queue_t *q, mblk_t *mpctl, int level, ip_stack_t *ipst) argument
10645 ip_snmp_get_mib2_ip6_route_media(queue_t *q, mblk_t *mpctl, int level, ip_stack_t *ipst) argument
10728 ip_snmp_get_mib2_ip6(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst, boolean_t legacy_req) argument
10859 ip_snmp_get_mib2_icmp6(queue_t *q, mblk_t *mpctl, ip_stack_t *ipst) argument
10923 ip_stack_t *ipst = ire->ire_ipst; local
11045 ip_stack_t *ipst = ire->ire_ipst; local
11457 ip_source_routed(ipha_t *ipha, ip_stack_t *ipst) argument
11636 ip_stack_t *ipst = ill->ill_ipst; local
11876 ip_fragment_copyhdr(uchar_t *rptr, int hdr_len, int offset, ip_stack_t *ipst, mblk_t *src) argument
11938 ip_output_local_options(ipha_t *ipha, ip_stack_t *ipst) argument
12366 ip_stack_t *ipst = ixa->ixa_ipst; local
12983 ip_stack_t *ipst = ixa->ixa_ipst; local
13120 conn_drain_init(ip_stack_t *ipst) argument
13156 conn_drain_fini(ip_stack_t *ipst) argument
13183 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
13355 ip_stack_t *ipst = ill->ill_ipst; local
13386 ip_stack_t *ipst = ill->ill_ipst; local
13401 conn_walk_drain(ip_stack_t *ipst, idl_tx_list_t *tx_list) argument
13727 ip_stack_t *ipst = ire->ire_ipst; local
13814 ip_stack_t *ipst; local
13847 ip_stack_t *ipst; local
13881 ip_stack_t *ipst; local
13991 ip_kstat_init(netstackid_t stackid, ip_stack_t *ipst) argument
14078 ip_stack_t *ipst; local
14215 ip_stack_t *ipst; local
14299 ip_stack_t *ipst = ill->ill_ipst; local
14423 ip_stack_t *ipst = ill->ill_ipst; local
15099 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
15122 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
15148 ipobs_init(ip_stack_t *ipst) argument
15162 ipobs_fini(ip_stack_t *ipst) argument
15176 ipobs_hook(mblk_t *mp, int htype, zoneid_t zsrc, zoneid_t zdst, const ill_t *ill, ip_stack_t *ipst) argument
[all...]
H A Dip_ndp.c69 (isv6 ? ipst->ips_ip_ndp_unsolicit_interval : \
70 ipst->ips_ip_arp_publish_interval)
73 (isv6 ? ipst->ips_ndp_defend_interval : \
74 ipst->ips_arp_defend_interval)
150 #define NCE_HASH_PTR_V4(ipst, addr) \
151 (&((ipst)->ips_ndp4->nce_hash_tbl[IRE_ADDR_HASH(addr, NCE_TABLE_SIZE)]))
153 #define NCE_HASH_PTR_V6(ipst, addr) \
154 (&((ipst)->ips_ndp6->nce_hash_tbl[NCE_ADDR_HASH_V6(addr, \
254 ip_stack_t *ipst = ill->ill_ipst; local
290 ipst
330 ip_stack_t *ipst = ill->ill_ipst; local
459 ip_stack_t *ipst = ncec->ncec_ipst; local
539 ip_stack_t *ipst = ncec->ncec_ipst; local
693 ip_stack_t *ipst = ill->ill_ipst; local
714 ip_stack_t *ipst = ill->ill_ipst; local
742 ip_stack_t *ipst = ill->ill_ipst; local
780 ip_stack_t *ipst = ill->ill_ipst; local
798 ip_stack_t *ipst = ill->ill_ipst; local
839 ip_stack_t *ipst = ncec->ncec_ipst; local
997 ncec_walk(ill_t *ill, pfi_t pfi, void *arg1, ip_stack_t *ipst) argument
1014 ip_stack_t *ipst = ill->ill_ipst; local
1324 ip_stack_t *ipst = ill->ill_ipst; local
1404 ip_stack_t *ipst = ill->ill_ipst; local
1565 ip_stack_t *ipst = ill->ill_ipst; local
1877 ip_stack_t *ipst = ill->ill_ipst; local
2135 ip_stack_t *ipst = ill->ill_ipst; local
2320 ip_stack_t *ipst = ncec->ncec_ipst; local
2871 ip_stack_t *ipst = ill->ill_ipst; local
2954 ip_stack_t *ipst = ill->ill_ipst; local
3410 ip_stack_t *ipst = ncec->ncec_ipst; local
3433 ip_nce_reclaim_stack(ip_stack_t *ipst) argument
3439 ncec_walk(NULL, (pfi_t)ncec_cache_reclaim, (uchar_t *)&fraction, ipst); local
3459 ip_stack_t *ipst; local
3519 ip_stack_t *ipst = ncec->ncec_ipst; local
3574 ip_stack_t *ipst = ill->ill_ipst; local
3729 ip_stack_t *ipst = ncec->ncec_ill->ill_ipst; local
3933 ip_stack_t *ipst = ill->ill_ipst; local
4049 ip_stack_t *ipst = ill->ill_ipst; local
4096 ip_stack_t *ipst = ill->ill_ipst; local
4326 ip_nce_lookup_and_update(ipaddr_t *addr, ipif_t *ipif, ip_stack_t *ipst, uchar_t *hwaddr, int hwaddr_len, int flags) argument
4390 ip_stack_t *ipst = ill->ill_ipst; local
4973 ip_stack_t *ipst = ill->ill_ipst; local
[all...]
H A Dip6_if.c77 ip_stack_t *ipst);
96 ill_lookup_group_v6(const in6_addr_t *group, zoneid_t zoneid, ip_stack_t *ipst, argument
101 ill = ire_lookup_multi_ill_v6(group, zoneid, ipst, multirtp, setsrcp);
105 return (ill_lookup_multicast(ipst, zoneid, B_TRUE));
114 ip_stack_t *ipst)
126 rw_enter(&ipst->ips_ill_g_lock, RW_READER);
127 ill = ILL_START_WALK_V6(&ctx, ipst);
141 rw_exit(&ipst->ips_ill_g_lock);
148 rw_exit(&ipst->ips_ill_g_lock);
150 ipif = ipif_lookup_addr_v6(if_addr, NULL, ALL_ZONES, ipst);
113 ipif_lookup_interface_v6(const in6_addr_t *if_addr, const in6_addr_t *dst, ip_stack_t *ipst) argument
159 ipif_lookup_addr_common_v6(const in6_addr_t *addr, ill_t *match_ill, uint32_t match_flags, zoneid_t zoneid, ip_stack_t *ipst) argument
229 ipif_lookup_addr_v6(const in6_addr_t *addr, ill_t *match_ill, zoneid_t zoneid, ip_stack_t *ipst) argument
242 ipif_lookup_addr_nondup_v6(const in6_addr_t *addr, ill_t *match_ill, zoneid_t zoneid, ip_stack_t *ipst) argument
256 ipif_lookup_addr_exact_v6(const in6_addr_t *addr, ill_t *match_ill, ip_stack_t *ipst) argument
274 ipif_lookup_addr_zoneid_v6(const in6_addr_t *addr, ill_t *match_ill, ip_stack_t *ipst) argument
393 ip_rt_add_v6(const in6_addr_t *dst_addr, const in6_addr_t *mask, const in6_addr_t *gw_addr, const in6_addr_t *src_addr, int flags, ill_t *ill, ire_t **ire_arg, struct rtsa_s *sp, ip_stack_t *ipst, zoneid_t zoneid) argument
944 ip_rt_delete_v6(const in6_addr_t *dst_addr, const in6_addr_t *mask, const in6_addr_t *gw_addr, uint_t rtm_addrs, int flags, ill_t *ill, ip_stack_t *ipst, zoneid_t zoneid) argument
1511 rule_isdst(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1538 rule_scope(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1568 rule_deprecated(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1597 rule_preferred(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1621 rule_interface(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1653 rule_label(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1683 rule_temporary(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1712 rule_ifprefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1757 rule_zone_specific(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1782 rule_addr_type(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1807 rule_prefix(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1833 rule_must_be_last(cand_t *bc, cand_t *cc, const dstinfo_t *dstinfo, ip_stack_t *ipst) argument
1881 ip_stack_t *ipst = dstill->ill_ipst; local
2196 ip_select_source_v6(ill_t *ill, const in6_addr_t *setsrc, const in6_addr_t *dst, zoneid_t zoneid, ip_stack_t *ipst, uint_t restrict_ill, uint32_t src_prefs, in6_addr_t *srcp, uint32_t *generation, uint64_t *flagsp) argument
2525 ip_stack_t *ipst = ill->ill_ipst; local
2732 ip_stack_t *ipst = ill->ill_ipst; local
[all...]
H A Dip_output.c142 ip_stack_t *ipst = ixa->ixa_ipst; local
207 &ipst->ips_dce_default->dce_ident));
264 ixa, &ipst->ips_dce_default->dce_ident));
293 ipst->ips_ip_pathmtu_interval)) {
339 ixa->ixa_src_generation != ipst->ips_src_generation) {
379 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsHCOutRequests);
380 BUMP_MIB(&ipst->ips_ip_mib, ipIfStatsOutDiscards);
382 BUMP_MIB(&ipst->ips_ip6_mib, ipIfStatsHCOutRequests);
383 BUMP_MIB(&ipst->ips_ip6_mib, ipIfStatsOutDiscards);
403 ip_stack_t *ipst local
771 ip_stack_t *ipst = ixa->ixa_ipst; local
815 ip_stack_t *ipst = ixa->ixa_ipst; local
1080 ip_stack_t *ipst = ixa->ixa_ipst; local
1232 ip_stack_t *ipst = ixa->ixa_ipst; local
1429 ip_stack_t *ipst = ixa->ixa_ipst; local
1459 ip_stack_t *ipst = ixa->ixa_ipst; local
1554 ip_stack_t *ipst = ixa->ixa_ipst; local
1615 ip_stack_t *ipst = ixa->ixa_ipst; local
1831 ip_stack_t *ipst = ixa->ixa_ipst; local
2214 ip_stack_t *ipst = ill->ill_ipst; local
2421 ip_stack_t *ipst = ixa->ixa_ipst; local
[all...]
H A Dip_input.c431 ip_stack_t *ipst = ill->ill_ipst; local
466 if (ipst->ips_ip_cgtp_filter &&
467 ipst->ips_ip_cgtp_filter_ops != NULL) {
470 stackid = ipst->ips_netstack->netstack_stackid;
476 ipst->ips_ip_cgtp_filter_ops->cfo_filter(stackid,
536 ipst->ips_ipcl_proto_fanout_v4[IPPROTO_RSVP].connf_head != NULL) {
562 ip_stack_t *ipst = ill->ill_ipst; local
567 ilb_stack_t *ilbs = ipst->ips_netstack->netstack_ilb;
614 if (HOOKS4_INTERESTED_PHYSICAL_IN(ipst)) {
624 FW_HOOKS(ipst
841 ip_stack_t *ipst = ill->ill_ipst; local
1122 ip_stack_t *ipst = ill->ill_ipst; local
1239 ip_stack_t *ipst = ill->ill_ipst; local
1310 ip_stack_t *ipst = ill->ill_ipst; local
1495 ip_stack_t *ipst = ill->ill_ipst; local
1515 ip_stack_t *ipst = ill->ill_ipst; local
1838 ip_stack_t *ipst = ill->ill_ipst; local
1919 ip_stack_t *ipst = ill->ill_ipst; local
2083 ip_stack_t *ipst = ill->ill_ipst; local
2164 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
2340 ip_stack_t *ipst = ill->ill_ipst; local
[all...]
H A Dip_if.c387 ip_stack_t *ipst = ill->ill_ipst; local
423 update_conn_ill(ill, ipst);
450 ipcl_walk(conn_ixa_cleanup, (void *)B_TRUE, ipst);
454 dce_cleanup(ill->ill_phyint->phyint_ifindex, ipst);
460 rw_enter(&ipst->ips_ill_g_usesrc_lock, RW_WRITER);
470 rw_exit(&ipst->ips_ill_g_usesrc_lock);
495 ip_stack_t *ipst = ill->ill_ipst; local
641 ire_increment_multicast_generation(ipst, ill->ill_isv6);
651 ip_stack_t *ipst = ill->ill_ipst; local
660 ip_mib2_add_ip_stats(&ipst
1198 ip_stack_t *ipst = ill->ill_ipst; local
2227 ill_taskq_dispatch(ip_stack_t *ipst) argument
2350 ip_stack_t *ipst = ill->ill_ipst; local
2407 ip_stack_t *ipst = ill->ill_ipst; local
2672 ip_stack_t *ipst = ill->ill_ipst; local
2700 ip_stack_t *ipst = ill->ill_ipst; local
2779 ill_first(int start_list, int end_list, ill_walk_context_t *ctx, ip_stack_t *ipst) argument
2833 ip_stack_t *ipst = lastill->ill_ipst; local
2902 ill_find_by_name(char *name, boolean_t isv6, ip_stack_t *ipst) argument
3011 ip_stack_t *ipst; local
3199 ip_stack_t *ipst = ill->ill_ipst; local
3536 ip_stack_t *ipst; local
3566 phyint_exists(uint_t index, ip_stack_t *ipst) argument
3585 ip_assign_ifindex(uint_t *indexp, ip_stack_t *ipst) argument
3632 phyint_assign_ifindex(phyint_t *phyi, ip_stack_t *ipst) argument
3684 ill_lookup_on_name(char *name, boolean_t do_alloc, boolean_t isv6, boolean_t *did_alloc, ip_stack_t *ipst) argument
3856 ip_stack_t *ipst; local
3877 ill_lookup_on_ifindex(uint_t index, boolean_t isv6, ip_stack_t *ipst) argument
3913 ip_xmit_ifindex_valid(uint_t ifindex, zoneid_t zoneid, boolean_t isv6, ip_stack_t *ipst) argument
3937 ill_get_next_ifindex(uint_t index, boolean_t isv6, ip_stack_t *ipst) argument
3992 ill_get_ifindex_by_name(char *name, ip_stack_t *ipst) argument
4420 ipif_lookup_multicast(ip_stack_t *ipst, zoneid_t zoneid, boolean_t isv6) argument
4519 ill_lookup_multicast(ip_stack_t *ipst, zoneid_t zoneid, boolean_t isv6) argument
4550 ill_lookup_group_v4(ipaddr_t group, zoneid_t zoneid, ip_stack_t *ipst, boolean_t *multirtp, ipaddr_t *setsrcp) argument
4567 ipif_lookup_interface(ipaddr_t if_addr, ipaddr_t dst, ip_stack_t *ipst) argument
4611 ipif_lookup_addr_common(ipaddr_t addr, ill_t *match_ill, uint32_t match_flags, zoneid_t zoneid, ip_stack_t *ipst) argument
4677 ipif_lookup_addr(ipaddr_t addr, ill_t *match_ill, zoneid_t zoneid, ip_stack_t *ipst) argument
4690 ipif_lookup_addr_nondup(ipaddr_t addr, ill_t *match_ill, zoneid_t zoneid, ip_stack_t *ipst) argument
4704 ipif_lookup_addr_exact(ipaddr_t addr, ill_t *match_ill, ip_stack_t *ipst) argument
4721 ipif_lookup_addr_zoneid(ipaddr_t addr, ill_t *match_ill, ip_stack_t *ipst) argument
5069 th_trace_gethash(ip_stack_t *ipst) argument
5116 th_trace_ref(const void *obj, ip_stack_t *ipst) argument
5406 ip_rt_add(ipaddr_t dst_addr, ipaddr_t mask, ipaddr_t gw_addr, ipaddr_t src_addr, int flags, ill_t *ill, ire_t **ire_arg, boolean_t ioctl_msg, struct rtsa_s *sp, ip_stack_t *ipst, zoneid_t zoneid) argument
5973 ip_rt_delete(ipaddr_t dst_addr, ipaddr_t mask, ipaddr_t gw_addr, uint_t rtm_addrs, int flags, ill_t *ill, boolean_t ioctl_msg, ip_stack_t *ipst, zoneid_t zoneid) argument
6116 ip_stack_t *ipst; local
6168 ip_stack_t *ipst; local
6302 ip_stack_t *ipst = ipsq->ipsq_ipst; local
6586 ip_stack_t *ipst = ill->ill_ipst; local
6660 ip_stack_t *ipst = ill->ill_ipst; local
6757 ip_stack_t *ipst; local
6868 ill_mcast_timer_start(ip_stack_t *ipst) argument
7056 ip_stack_t *ipst; local
7169 ip_get_numifs(zoneid_t zoneid, ip_stack_t *ipst) argument
7196 ip_get_numlifs(int family, int lifn_flags, zoneid_t zoneid, ip_stack_t *ipst) argument
7251 ip_stack_t *ipst = ill->ill_ipst; local
7336 ip_stack_t *ipst = CONNQ_TO_IPST(q); local
7483 ip_stack_t *ipst; local
7601 ip_stack_t *ipst = CONNQ_TO_IPST(q); local
7773 ip_stack_t *ipst; local
7885 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
8012 ip_stack_t *ipst; local
8091 ip_stack_t *ipst; local
8184 ip_stack_t *ipst; local
8423 ip_stack_t *ipst; local
8523 ip_stack_t *ipst = ill->ill_ipst; local
8856 ip_stack_t *ipst; local
8940 ip_stack_t *ipst; local
9028 ip_stack_t *ipst; local
9302 ip_stack_t *ipst = CONNQ_TO_IPST(q); local
9445 ip_stack_t *ipst; local
10865 ip_stack_t *ipst = ill->ill_ipst; local
11623 ip_subnet_mask(ipaddr_t addr, ipif_t **ipifp, ip_stack_t *ipst) argument
11779 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
11887 ip_stack_t *ipst; local
11988 ip_stack_t *ipst = ill->ill_ipst; local
12451 ip_update_source_selection(ip_stack_t *ipst) argument
12469 ip_stack_t *ipst = ill->ill_ipst; local
12500 ip_stack_t *ipst = ill->ill_ipst; local
12620 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
12644 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
12665 ip_stack_t *ipst = CONNQ_TO_IPST(q); local
13321 ip_stack_t *ipst = ill->ill_ipst; local
13539 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
13574 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
13654 ipif_lookup_on_name(char *name, size_t namelen, boolean_t do_alloc, boolean_t *exists, boolean_t isv6, zoneid_t zoneid, ip_stack_t *ipst) argument
13794 ipif_lookup_on_name_async(char *name, size_t namelen, boolean_t isv6, zoneid_t zoneid, queue_t *q, mblk_t *mp, ipsq_func_t func, int *error, ip_stack_t *ipst) argument
13942 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
14118 ip_stack_t *ipst = ill->ill_ipst; local
14276 ip_stack_t *ipst = new_ipif->ipif_ill->ill_ipst; local
14339 ip_stack_t *ipst = ill->ill_ipst; local
14881 ip_stack_t *ipst = ill->ill_ipst; local
15179 ip_stack_t *ipst = ill->ill_ipst; local
15219 ipif_zone_avail(uint_t ifindex, boolean_t isv6, zoneid_t zoneid, ip_stack_t *ipst) argument
15319 ip_stack_t *ipst = ill->ill_ipst; local
15547 ip_select_source_v4(ill_t *ill, ipaddr_t setsrc, ipaddr_t dst, ipaddr_t multicast_ifaddr, zoneid_t zoneid, ip_stack_t *ipst, ipaddr_t *srcp, uint32_t *generation, uint64_t *flagsp) argument
15792 ip_stack_t *ipst; local
15911 ipif_lookup_on_ifindex(uint_t index, boolean_t isv6, zoneid_t zoneid, ip_stack_t *ipst) argument
15951 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
16117 ip_stack_t *ipst; local
16300 ip_stack_t *ipst = uill->ill_ipst; local
16323 ip_stack_t *ipst = ucill->ill_ipst; local
16380 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
16583 ip_stack_t *ipst = PHYINT_TO_IPST(phyi); local
16633 ip_stack_t *ipst = ill->ill_ipst; local
16805 ip_stack_t *ipst = ill->ill_ipst; local
16886 ip_stack_t *ipst; local
17115 ipif_init(ip_stack_t *ipst) argument
17242 ip_cgtp_bcast_add(ire_t *ire, ip_stack_t *ipst) argument
17312 ip_cgtp_bcast_delete(ire_t *ire, ip_stack_t *ipst) argument
17667 ill_lookup_on_ifindex_zoneid(uint_t index, zoneid_t zoneid, boolean_t isv6, ip_stack_t *ipst) argument
17699 ipif_getby_indexes(uint_t ifindex, uint_t lifidx, boolean_t isv6, ip_stack_t *ipst) argument
17738 ip_stack_t *ipst = ill->ill_ipst; local
17766 ill_set_inputfn_all(ip_stack_t *ipst) argument
18239 ip_interface_cleanup(ip_stack_t *ipst) argument
18313 ip_stack_t *ipst = ill->ill_ipst; local
18720 ip_stack_t *ipst; local
19012 ip_stack_t *ipst = usill->ill_ipst; local
[all...]
H A Dip_rts.c96 const ts_label_t *tsl, int match_flags, ip_stack_t *ipst, ire_t **pifire,
101 ip_stack_t *ipst, ire_t **pifire,
114 ip_stack_t *ipst)
125 mutex_enter(&ipst->ips_rts_clients->connf_lock);
126 connp = ipst->ips_rts_clients->connf_head;
160 mutex_exit(&ipst->ips_rts_clients->connf_lock);
172 mutex_enter(&ipst->ips_rts_clients->connf_lock);
177 mutex_exit(&ipst->ips_rts_clients->connf_lock);
188 ip_rts_rtmsg(int type, ire_t *ire, int error, ip_stack_t *ipst) argument
238 rts_queue_input(mp, NULL, af, RTSQ_ALL, ipst);
113 rts_queue_input(mblk_t *mp, conn_t *o_connp, sa_family_t af, uint_t flags, ip_stack_t *ipst) argument
250 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; local
308 ip_stack_t *ipst; local
981 ire_lookup_v4(ipaddr_t dst_addr, ipaddr_t net_mask, ipaddr_t gw_addr, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags, ip_stack_t *ipst, ire_t **pifire, ipaddr_t *v4setsrcp, tsol_ire_gw_secattr_t **gwattrp) argument
1064 ire_lookup_v6(const in6_addr_t *dst_addr_v6, const in6_addr_t *net_mask_v6, const in6_addr_t *gw_addr_v6, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags, ip_stack_t *ipst, ire_t **pifire, in6_addr_t *v6setsrcp, tsol_ire_gw_secattr_t **gwattrp) argument
1163 ip_stack_t *ipst; local
1909 ip_rts_change(int type, ipaddr_t dst_addr, ipaddr_t gw_addr, ipaddr_t net_mask, ipaddr_t source, ipaddr_t author, int flags, int error, int rtm_addrs, ip_stack_t *ipst) argument
1948 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
2007 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
2096 ip_stack_t *ipst = ipif->ipif_ill->ill_ipst; local
[all...]
H A Dip6_input.c479 uint_t irr_flags, ip_stack_t *ipst)
486 match_flags, irr_flags, ira->ira_xmit_hint, ipst, NULL, NULL, NULL);
504 match_flags, irr_flags, ira->ira_xmit_hint, ipst, NULL, NULL, NULL);
519 ip_stack_t *ipst = ill->ill_ipst; local
524 ilb_stack_t *ilbs = ipst->ips_netstack->netstack_ilb;
580 if (HOOKS6_INTERESTED_PHYSICAL_IN(ipst)) {
590 FW_HOOKS6(ipst->ips_ip6_physical_in_event,
591 ipst->ips_ipv6firewall_physical_in,
592 ill, NULL, ip6h, mp, mp, ll_multicast, ipst, error);
620 if (ipst
478 ire_linklocal(const in6_addr_t *nexthop, ill_t *ill, ip_recv_attr_t *ira, uint_t irr_flags, ip_stack_t *ipst) argument
832 ip_stack_t *ipst = ill->ill_ipst; local
1079 ip_stack_t *ipst = dst_ill->ill_ipst; local
1149 ip_stack_t *ipst = ill->ill_ipst; local
1262 ip_stack_t *ipst = ill->ill_ipst; local
1538 ip_stack_t *ipst = ill->ill_ipst; local
1702 ip_stack_t *ipst = ill->ill_ipst; local
1800 ip_stack_t *ipst = ira->ira_ill->ill_ipst; local
1991 ip_stack_t *ipst = ill->ill_ipst; local
[all...]
/illumos-gate/usr/src/uts/common/inet/
H A Dip6_asp.h80 #define IP6_ASP_TABLE_REFHOLD(ipst) { \
81 ipst->ips_ip6_asp_refcnt++; \
82 ASSERT(ipst->ips_ip6_asp_refcnt != 0); \
85 #define IP6_ASP_TABLE_REFRELE(ipst) { \
86 mutex_enter(&ipst->ips_ip6_asp_lock); \
87 ASSERT(ipst->ips_ip6_asp_refcnt != 0); \
88 if (--ipst->ips_ip6_asp_refcnt == 0) { \
89 mutex_exit(&ipst->ips_ip6_asp_lock); \
90 ip6_asp_check_for_updates(ipst); \
92 mutex_exit(&ipst
[all...]
H A Dipp_common.h47 #define IPP_ENABLED(proc, ipst) ((ipp_action_count != 0) && \
48 (~((ipst)->ips_ip_policy_mask) & (proc)))
H A Dip_stack.h45 #define IP_STAT(ipst, x) ((ipst)->ips_ip_statistics.x.value.ui64++)
46 #define IP_STAT_UPDATE(ipst, x, n) \
47 ((ipst)->ips_ip_statistics.x.value.ui64 += (n))
95 #define IP6_STAT(ipst, x) ((ipst)->ips_ip6_statistics.x.value.ui64++)
96 #define IP6_STAT_UPDATE(ipst, x, n) \
97 ((ipst)->ips_ip6_statistics.x.value.ui64 += (n))
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp_link.c114 ip_stack_t *ipst; local
128 ipst = netstack_find_by_zoneid(myzoneid)->netstack_ip;
137 myzoneid, NULL, MATCH_IRE_DSTONLY, B_TRUE, 0, ipst,
157 INADDR_ANY, myzoneid, ipst, &wqnp->src_addr.un.ip4addr,
177 myzoneid, NULL, MATCH_IRE_DSTONLY, B_TRUE, 0, ipst,
197 myzoneid, ipst, B_FALSE, IPV6_PREFER_SRC_DEFAULT,
218 myzoneid, ipst);
221 ill, myzoneid, ipst);
269 netstack_rele(ipst->ips_netstack);
283 netstack_rele(ipst
[all...]

Completed in 190 milliseconds

123