Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_netinfo.c308 ipst->ips_ipv4_net_data, &ipst->ips_ip4_physical_in_event); in ipv4_hook_init()
316 ipst->ips_ipv4_net_data, &ipst->ips_ip4_physical_out_event); in ipv4_hook_init()
324 ipst->ips_ipv4_net_data, &ipst->ips_ip4_forwarding_event); in ipv4_hook_init()
332 ipst->ips_ipv4_net_data, &ipst->ips_ip4_loopback_in_event); in ipv4_hook_init()
349 ipst->ips_ipv4_net_data, &ipst->ips_ip4_nic_events); in ipv4_hook_init()
358 ipst->ips_ipv4_net_data, &ipst->ips_ip4_observe); in ipv4_hook_init()
473 ipst->ips_ipv6_net_data, &ipst->ips_ip6_physical_in_event); in ipv6_hook_init()
489 ipst->ips_ipv6_net_data, &ipst->ips_ip6_forwarding_event); in ipv6_hook_init()
514 ipst->ips_ipv6_net_data, &ipst->ips_ip6_nic_events); in ipv6_hook_init()
523 ipst->ips_ipv6_net_data, &ipst->ips_ip6_observe); in ipv6_hook_init()
[all …]
H A Dip6_asp.c111 ip6_asp_init(ip_stack_t *ipst) in ip6_asp_init() argument
118 ipst->ips_ip6_asp_table_count = in ip6_asp_init()
123 ip6_asp_free(ip_stack_t *ipst) in ip6_asp_free() argument
128 ipst->ips_ip6_asp_table = NULL; in ip6_asp_free()
141 if (ipst->ips_ip6_asp_uip) { in ip6_asp_can_lookup()
145 IP6_ASP_TABLE_REFHOLD(ipst); in ip6_asp_can_lookup()
166 ipst->ips_ip6_asp_pending_ops = in ip6_asp_pending_op()
211 IP6_ASP_TABLE_REFRELE(ipst); in ip6_asp_table_refrele()
232 aspp = ipst->ips_ip6_asp_table; in ip6_asp_lookup()
277 ipst->ips_ip6_asp_uip = B_TRUE; in ip6_asp_check_for_updates()
[all …]
H A Dip_mroute.c572 ipst->ips_saved_ip_forwarding = ipst->ips_ip_forwarding; in ip_mrouter_init()
632 ipst->ips_ip_forwarding = ipst->ips_saved_ip_forwarding; in ip_mrouter_done()
695 ipst->ips_numvifs = 0; in ip_mrouter_done()
772 ipst->ips_vifs = NULL; in ip_mrouter_stack_destroy()
776 ipst->ips_mfcs = NULL; in ip_mrouter_stack_destroy()
778 ipst->ips_tbfs = NULL; in ip_mrouter_stack_destroy()
1648 ipst->ips_vifs[ipst->ips_reg_vif_num]. in ip_mforward()
1767 ipst->ips_vifs[ipst->ips_reg_vif_num]. in ip_mforward()
1922 ip_stack_t *ipst; in expire_upcalls() local
2494 ASSERT(ipst->ips_reg_vif_num <= ipst->ips_numvifs); in register_mforward()
[all …]
H A Dip_dce.c195 dcb_reclaim(&ipst->ips_dce_hash_v4[i], ipst, in ip_dce_reclaim_stack()
198 dcb_reclaim(&ipst->ips_dce_hash_v6[i], ipst, in ip_dce_reclaim_stack()
220 ip_stack_t *ipst; in ip_dce_reclaim() local
235 ip_dce_reclaim_stack(ipst); in ip_dce_reclaim()
318 ipst->ips_dce_default->dce_ipst = ipst; in dce_stack_init()
322 ipst->ips_dce_hash_v4 = kmem_zalloc(ipst->ips_dce_hashsize * in dce_stack_init()
324 ipst->ips_dce_hash_v6 = kmem_zalloc(ipst->ips_dce_hashsize * in dce_stack_init()
373 ipst->ips_dce_hashsize = 0; in dce_stack_destroy()
386 dce = ipst->ips_dce_default; in dce_get_default()
726 ip_stack_t *ipst) in dce_update_uinfo_v6() argument
[all …]
H A Dip_srcid.c135 rw_exit(&ipst->ips_srcid_lock); in ip_srcid_insert()
141 rw_exit(&ipst->ips_srcid_lock); in ip_srcid_insert()
150 rw_exit(&ipst->ips_srcid_lock); in ip_srcid_insert()
188 rw_exit(&ipst->ips_srcid_lock); in ip_srcid_remove()
221 rw_exit(&ipst->ips_srcid_lock); in ip_srcid_find_addr()
268 rw_exit(&ipst->ips_srcid_lock); in ip_srcid_find_id()
274 srcid_nextid(ip_stack_t *ipst) in srcid_nextid() argument
282 id = ipst->ips_ip_src_id++; in srcid_nextid()
283 if (ipst->ips_ip_src_id == 0) in srcid_nextid()
309 smpp = &ipst->ips_srcid_head; in srcid_lookup_addr()
[all …]
H A Dip_tunables.c93 rw_exit(&ipst->ips_ill_g_lock); in ip_set_forwarding()
143 rw_exit(&ipst->ips_ill_g_lock); in ip_get_forwarding()
147 rw_exit(&ipst->ips_ill_g_lock); in ip_get_forwarding()
248 ill_set_inputfn_all(ipst); in ip_set_cgtp_filter()
336 ALL_ZONES, ipst); in ip_set_src_multihoming_common()
339 ALL_ZONES, ipst); in ip_set_src_multihoming_common()
345 ALL_ZONES, ipst); in ip_set_src_multihoming_common()
348 ALL_ZONES, ipst); in ip_set_src_multihoming_common()
420 isv6, ipst); in ip_set_hostmodel()
428 isv6, ipst); in ip_set_hostmodel()
[all …]
H A Dip_ire.c422 ip_stack_t *ipst; in ip_ire_delete() local
545 gc, ipst); in ire_init_v4()
628 ip_stack_t *ipst) in ire_create() argument
641 gc, ipst); in ire_create()
739 ipst); in ire_create_bcast()
1757 ip_stack_t *ipst; in irb_increment_generation() local
2231 ip_stack_t *ipst; in ip_ire_reclaim() local
2973 ip_stack_t *ipst; in ire_dep_build() local
3024 ip_stack_t *ipst; in ire_dep_unbuild() local
3595 ipst, NULL); in ire_rebind()
[all …]
H A Dipclassifier.c539 kmem_free(ipst->ips_ipcl_udp_fanout, ipst->ips_ipcl_udp_fanout_size * in ipcl_destroy()
555 kmem_free(ipst->ips_ipcl_raw_fanout, ipst->ips_ipcl_raw_fanout_size * in ipcl_destroy()
1460 ipst)]; in ipcl_conn_insert_v6()
1581 &ipst->ips_ipcl_bind_fanout[IPCL_BIND_HASH(lport, ipst)]; in ipcl_classify_v4()
1626 connfp = &ipst->ips_ipcl_udp_fanout[IPCL_UDP_HASH(lport, ipst)]; in ipcl_classify_v4()
1725 &ipst->ips_ipcl_bind_fanout[IPCL_BIND_HASH(lport, ipst)]; in ipcl_classify_v6()
1762 connfp = &ipst->ips_ipcl_udp_fanout[IPCL_UDP_HASH(lport, ipst)]; in ipcl_classify_v6()
1894 connfp = &ipst->ips_ipcl_raw_fanout[IPCL_RAW_HASH(0, ipst)]; in ipcl_classify_raw()
2403 ports, ipst)]; in ipcl_conn_tcp_lookup_reversed_ipv4()
2456 ports, ipst)]; in ipcl_conn_tcp_lookup_reversed_ipv6()
[all …]
H A Digmp.c157 ipst->ips_igmp_timeout_id = in igmp_start_timers()
205 (void *)ipst, MSEC_TO_TICK(ipst->ips_igmp_time_to_next)); in igmp_start_timers()
249 (void *)ipst, in mld_start_timers()
296 (void *)ipst, MSEC_TO_TICK(ipst->ips_mld_time_to_next)); in mld_start_timers()
491 ip_stack_t *ipst; in igmp_query_in() local
493 ipst = ill->ill_ipst; in igmp_query_in()
630 ip_stack_t *ipst; in igmpv3_query_in() local
632 ipst = ill->ill_ipst; in igmpv3_query_in()
1094 ipst->ips_igmp_deferred_next = MIN(ipst->ips_igmp_deferred_next, in igmp_statechange()
1400 ip_stack_t *ipst = arg; in igmp_timeout_handler() local
[all …]
H A Dip_ftable.c391 (void) ipst->ips_ip_ftable->rnh_walktree_mt(ipst->ips_ip_ftable, in ire_delete_host_redirects()
441 irb->irb_ipst = ipst; in ire_get_bucket()
484 ip_stack_t *ipst; in ifindex_lookup() local
579 ip_stack_t *ipst; in ipfil_sendpkt() local
611 ixas.ixa_ipst = ipst; in ipfil_sendpkt()
1018 ip_stack_t *ipst; in ip_verify_src_on_ill() local
1104 isv6, ipst); in ip_select_route()
1109 isv6, ipst); in ip_select_route()
1117 isv6, ipst); in ip_select_route()
1195 isv6, ipst); in ip_select_route()
[all …]
H A Dip6_ire.c72 ip_stack_t *ipst);
128 gc, ipst); in ire_init_v6()
316 ip_stack_t *ipst = ire->ire_ipst; in ire_add_v6() local
336 ptr[i].irb_ipst = ipst; in ire_add_v6()
545 ip_stack_t *ipst = ire->ire_ipst; in ire_delete_v6() local
772 zoneid, ipst)) { in ire_match_args_v6()
893 ipst); in ire_gateway_ok_zone_v6()
937 tsl, flags, ipst); in ire_ftable_lookup_v6()
974 xmit_hint, ire, ipst); in ire_ftable_lookup_v6()
1019 ip_stack_t *ipst) in ire_ftable_lookup_impl_v6() argument
[all …]
H A Dipmp.c99 ipmp_init(ip_stack_t *ipst) in ipmp_init() argument
111 ipmp_destroy(ip_stack_t *ipst) in ipmp_destroy() argument
114 rw_destroy(&ipst->ips_ipmp_lock); in ipmp_destroy()
255 rw_exit(&ipst->ips_ill_g_lock); in ipmp_grp_update_kstats()
717 rw_exit(&ipst->ips_ipmp_lock); in ipmp_illgrp_next_ill()
745 rw_exit(&ipst->ips_ipmp_lock); in ipmp_illgrp_hold_next_ill()
766 rw_exit(&ipst->ips_ipmp_lock); in ipmp_illgrp_hold_cast_ill()
812 rw_exit(&ipst->ips_ipmp_lock); in ipmp_illgrp_set_cast()
1125 rw_exit(&ipst->ips_ipmp_lock); in ipmp_ill_join_illgrp()
1264 rw_exit(&ipst->ips_ipmp_lock); in ipmp_ill_leave_illgrp()
[all …]
H A Dip.c1803 ipst); in icmp_inbound_verify_v4()
2128 ipst); in icmp_inbound_error_fanout_v4()
2703 ipst); in icmp_redirect_v4()
4120 conn_walk_drain(ipst, &ipst->ips_idl_tx_list[i]); in ip_modclose()
4537 kmem_free(ipst, sizeof (*ipst)); in ip_stack_fini()
4646 ipst = (ip_stack_t *)kmem_zalloc(sizeof (*ipst), KM_SLEEP); in ip_stack_init()
4669 ipcl_init(ipst); in ip_stack_init()
4688 ipst->ips_ip_mibkp = ip_kstat_init(stackid, ipst); in ip_stack_init()
4716 return (ipst); in ip_stack_init()
13413 conn_walk_drain(ipst, &ipst->ips_idl_tx_list[0]); in ip_wsrv()
[all …]
H A Dip6_if.c77 ip_stack_t *ipst);
114 ip_stack_t *ipst) in ipif_lookup_interface_v6() argument
230 ip_stack_t *ipst) in ipif_lookup_addr_v6() argument
233 zoneid, ipst)); in ipif_lookup_addr_v6()
247 ipst)); in ipif_lookup_addr_nondup_v6()
261 ipst)); in ipif_lookup_addr_exact_v6()
475 ipst); in ip_rt_add_v6()
652 ipst); in ip_rt_add_v6()
806 ipst); in ip_rt_add_v6()
2583 ipst); in ipif_add_ires_v6()
[all …]
H A Dip_output.c143 ip_stack_t *ipst = ixa->ixa_ipst; in conn_ip_output() local
404 ip_stack_t *ipst = ixa->ixa_ipst; in ip_verify_src() local
423 ipst, B_FALSE) != IPVL_BAD); in ip_verify_src()
817 ip_stack_t *ipst = ixa->ixa_ipst; in ip_output_simple_v4() local
1082 ip_stack_t *ipst = ixa->ixa_ipst; in ire_send_local_v4() local
1148 ipst->ips_loopback_packets++; in ire_send_local_v4()
1234 ip_stack_t *ipst = ixa->ixa_ipst; in ire_send_broadcast_v4() local
1570 RTA_DST, ipst); in ire_send_noroute_v4()
1679 IP_STAT(ipst, ip_out_sw_cksum); in ip_output_sw_cksum_v4()
2460 ipst); in ip_output_process_local()
[all …]
H A Dip6_output.c118 ip_stack_t *ipst = ixa->ixa_ipst; in ip_output_simple_v6() local
383 ip_stack_t *ipst = ixa->ixa_ipst; in ire_send_local_v6() local
452 ipst->ips_loopback_packets++; in ire_send_local_v6()
537 ip_stack_t *ipst = ixa->ixa_ipst; in multirt_check_v6() local
573 ip_stack_t *ipst = ixa->ixa_ipst; in ire_send_multicast_v6() local
668 ip_stack_t *ipst = ixa->ixa_ipst; in ire_send_noroute_v6() local
678 RTA_DST, ipst); in ire_send_noroute_v6()
722 ip_stack_t *ipst = ixa->ixa_ipst; in ip_output_sw_cksum_v6() local
798 IP6_STAT(ipst, ip6_out_sw_cksum); in ip_output_sw_cksum_v6()
957 ip_stack_t *ipst = ixa->ixa_ipst; in ire_send_wire_v6() local
[all …]
H A Dip_if.c3611 if (!phyint_exists(ipst->ips_ill_index, ipst)) { in ip_assign_ifindex()
4709 ipst)); in ipif_lookup_addr_exact()
5493 ipst); in ip_rt_add()
5674 ipst); in ip_rt_add()
5828 ipst); in ip_rt_add()
8478 ipst); in ip_extract_arpreq()
9524 ipst); in ip_sioctl_removeif()
9531 ipst); in ip_sioctl_removeif()
14932 ipst); in ipif_add_ires_v4()
14995 ipst); in ipif_add_ires_v4()
[all …]
H A Dip_input.c431 ip_stack_t *ipst = ill->ill_ipst; in ill_input_full_v4() local
466 if (ipst->ips_ip_cgtp_filter && in ill_input_full_v4()
764 IP_STAT(ipst, ip_opt); in ill_input_short_v4()
808 ira->ira_xmit_hint, ipst); in ill_input_short_v4()
1017 switch (ipst->ips_src_check) { in ire_recv_forward_v4()
1272 ipst); in ire_recv_noroute_v4()
1553 if (ipst->ips_ip_g_mrouter) { in ire_recv_multicast_v4()
2174 IP_STAT(ipst, ip_in_sw_cksum); in ip_input_sw_cksum_v4()
2490 ira, ipst); in ip_fanout_v4()
2645 ira, ipst); in ip_fanout_v4()
[all …]
H A Dip_ndp.c74 ipst->ips_ip_arp_publish_interval)
78 ipst->ips_arp_defend_interval)
466 ndp = ipst->ips_ndp4; in ncec_delete()
468 ndp = ipst->ips_ndp6; in ncec_delete()
749 ndp = ipst->ips_ndp6; in ncec_lookup_illgrp()
751 ndp = ipst->ips_ndp4; in ncec_lookup_illgrp()
1806 ipst); in ip_nce_conflict()
1817 ipst); in ip_nce_conflict()
2439 ixas.ixa_ipst = ipst; in ndp_xmit()
2721 ipst); in nce_timer()
[all …]
H A Dip6_input.c518 ip_stack_t *ipst = ill->ill_ipst; in ill_input_short_v6() local
770 ipst); in ill_input_short_v6()
794 ipst); in ill_input_short_v6()
831 ip_stack_t *ipst = ill->ill_ipst; in ire_recv_forward_v6() local
990 switch (ipst->ips_src_check) { in ire_recv_forward_v6()
1176 ipst); in ire_recv_noroute_v6()
1272 rw_exit(&ipst->ips_ill_g_lock); in ire_recv_multicast_v6()
1295 if (ipst->ips_ip_g_mrouter) { in ire_recv_multicast_v6()
2142 ira, ipst); in ip_fanout_v6()
2296 ira, ipst); in ip_fanout_v6()
[all …]
H A Dip_rts.c101 ip_stack_t *ipst, ire_t **pifire,
114 ip_stack_t *ipst) in rts_queue_input() argument
309 ip_stack_t *ipst; in ip_rts_request_common() local
549 rtsap, ipst, zoneid); in ip_rts_request_common()
620 ipst, zoneid); in ip_rts_request_common()
625 ipst, zoneid); in ip_rts_request_common()
823 ipst); in ip_rts_request_common()
894 ipst); in ip_rts_request_common()
1096 ipst, NULL); in ire_lookup_v6()
1168 ip_stack_t *ipst; in ip_rts_request() local
[all …]
H A Dip6.c206 ip_stack_t *ipst = ill->ill_ipst; in icmp_inbound_v6() local
439 ip_stack_t *ipst = ill->ill_ipst; in icmp_send_reply_v6() local
486 ixas.ixa_ipst = ipst; in icmp_send_reply_v6()
546 ip_stack_t *ipst = ill->ill_ipst; in icmp_inbound_verify_v6() local
678 ip_stack_t *ipst = ill->ill_ipst; in icmp_inbound_too_big_v6() local
1153 ipst); in icmp_redirect_v6()
1186 ipst); in icmp_redirect_v6()
1271 ixas.ixa_ipst = ipst; in icmp_pkt_v6()
1539 if (icmp_err_rate_limit(ipst)) { in icmp_pkt_err_ok_v6()
2487 connfp = &ipst->ips_ipcl_udp_fanout[IPCL_UDP_HASH(lport, ipst)]; in ip_fanout_udp_multi_v6()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dip6_asp.h78 #define IP6_ASP_TABLE_REFHOLD(ipst) { \ argument
79 ipst->ips_ip6_asp_refcnt++; \
80 ASSERT(ipst->ips_ip6_asp_refcnt != 0); \
83 #define IP6_ASP_TABLE_REFRELE(ipst) { \ argument
84 mutex_enter(&ipst->ips_ip6_asp_lock); \
85 ASSERT(ipst->ips_ip6_asp_refcnt != 0); \
86 if (--ipst->ips_ip6_asp_refcnt == 0) { \
87 mutex_exit(&ipst->ips_ip6_asp_lock); \
88 ip6_asp_check_for_updates(ipst); \
90 mutex_exit(&ipst->ips_ip6_asp_lock); \
H A Dip_stack.h50 #define IP_STAT(ipst, x) ((ipst)->ips_ip_statistics.x.value.ui64++) argument
51 #define IP_STAT_UPDATE(ipst, x, n) \ argument
52 ((ipst)->ips_ip_statistics.x.value.ui64 += (n))
104 #define IP6_STAT(ipst, x) ((ipst)->ips_ip6_statistics.x.value.ui64++) argument
105 #define IP6_STAT_UPDATE(ipst, x, n) \ argument
106 ((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; in ibcm_resolver_pr_lookup() local
128 ipst = netstack_find_by_zoneid(myzoneid)->netstack_ip; in ibcm_resolver_pr_lookup()
137 myzoneid, NULL, MATCH_IRE_DSTONLY, B_TRUE, 0, ipst, in ibcm_resolver_pr_lookup()
157 INADDR_ANY, myzoneid, ipst, &wqnp->src_addr.un.ip4addr, in ibcm_resolver_pr_lookup()
177 myzoneid, NULL, MATCH_IRE_DSTONLY, B_TRUE, 0, ipst, in ibcm_resolver_pr_lookup()
197 myzoneid, ipst, B_FALSE, IPV6_PREFER_SRC_DEFAULT, in ibcm_resolver_pr_lookup()
218 myzoneid, ipst); in ibcm_resolver_pr_lookup()
221 ill, myzoneid, ipst); in ibcm_resolver_pr_lookup()
269 netstack_rele(ipst->ips_netstack); in ibcm_resolver_pr_lookup()
283 netstack_rele(ipst->ips_netstack); in ibcm_resolver_pr_lookup()

123