Home
last modified time | relevance | path

Searched refs:ip_stack_t (Results 1 – 25 of 74) sorted by relevance

123

/illumos-gate/usr/src/uts/common/inet/
H A Dip_netinfo.h40 extern void ip_net_init(ip_stack_t *, netstack_t *);
41 extern void ip_net_destroy(ip_stack_t *);
42 extern void ipv4_hook_init(ip_stack_t *);
43 extern void ipv6_hook_init(ip_stack_t *);
44 extern void arp_hook_init(ip_stack_t *);
45 extern void ipv4_hook_destroy(ip_stack_t *);
46 extern void ipv6_hook_destroy(ip_stack_t *);
47 extern void arp_hook_destroy(ip_stack_t *);
48 extern void ipv4_hook_shutdown(ip_stack_t *);
49 extern void ipv6_hook_shutdown(ip_stack_t *);
[all …]
H A Dip_ire.h144 ushort_t, ill_t *, zoneid_t, uint_t, tsol_gc_t *, ip_stack_t *);
150 ushort_t, ill_t *, zoneid_t, uint_t, tsol_gc_t *, ip_stack_t *);
153 ip_stack_t *);
156 uchar_t, tsol_gc_t *, ip_stack_t *);
160 tsol_gc_t *, ip_stack_t *);
179 ip_stack_t *, uint_t *);
182 const struct ts_label_s *, int, uint32_t, ip_stack_t *, uint_t *);
184 extern ire_t *ire_ftable_lookup_simple_v4(ipaddr_t, uint32_t, ip_stack_t *,
187 ip_stack_t *, uint_t *);
190 const ts_label_t *, ip_stack_t *, boolean_t);
[all …]
H A Dip_multi.h95 extern int ip_join_allmulti(uint_t, boolean_t, ip_stack_t *);
96 extern int ip_leave_allmulti(uint_t, boolean_t, ip_stack_t *);
98 extern int ip_mroute_mrt(mblk_t *, ip_stack_t *);
99 extern int ip_mroute_stats(mblk_t *, ip_stack_t *);
100 extern int ip_mroute_vif(mblk_t *, ip_stack_t *);
101 extern int ip_mrouter_done(ip_stack_t *);
104 extern void ip_mrouter_stack_init(ip_stack_t *);
105 extern void ip_mrouter_stack_destroy(ip_stack_t *);
119 extern void update_conn_ill(ill_t *, ip_stack_t *);
122 extern void igmp_start_timers(unsigned, ip_stack_t *);
[all …]
H A Dip_if.h164 extern void ill_mcast_timer_start(ip_stack_t *);
170 extern ill_t *ill_lookup_on_ifindex(uint_t, boolean_t, ip_stack_t *);
172 ip_stack_t *);
174 boolean_t, boolean_t *, ip_stack_t *);
176 ip_stack_t *);
177 extern uint_t ill_get_next_ifindex(uint_t, boolean_t, ip_stack_t *);
178 extern uint_t ill_get_ifindex_by_name(char *, ip_stack_t *);
195 extern void ill_set_inputfn_all(ip_stack_t *);
214 ip_stack_t *, boolean_t *, ipaddr_t *);
216 ip_stack_t *, boolean_t *, in6_addr_t *);
[all …]
H A Dip6_asp.h117 extern void ip6_asp_free(ip_stack_t *);
118 extern void ip6_asp_init(ip_stack_t *);
119 extern boolean_t ip6_asp_can_lookup(ip_stack_t *);
120 extern void ip6_asp_table_refrele(ip_stack_t *);
121 extern char *ip6_asp_lookup(const in6_addr_t *, uint32_t *, ip_stack_t *);
123 ip_stack_t *, model_t);
124 extern int ip6_asp_get(ip6_asp_t *, size_t, ip_stack_t *);
H A Dip_rts.h52 int, ip_stack_t *);
56 ip_stack_t *);
68 extern void ip_rts_rtmsg(int, ire_t *, int, ip_stack_t *);
86 ip_stack_t *);
H A Dipclassifier.h687 extern void ipcl_init(ip_stack_t *);
689 extern void ipcl_destroy(ip_stack_t *);
706 ip_stack_t *);
708 ip_stack_t *);
709 conn_t *ipcl_classify(mblk_t *, ip_recv_attr_t *, ip_stack_t *);
711 ip6_t *, ip_recv_attr_t *, ip_stack_t *);
712 conn_t *ipcl_iptun_classify_v4(ipaddr_t *, ipaddr_t *, ip_stack_t *);
713 conn_t *ipcl_iptun_classify_v6(in6_addr_t *, in6_addr_t *, ip_stack_t *);
716 void ipcl_walk(pfv_t, void *, ip_stack_t *);
717 conn_t *ipcl_tcp_lookup_reversed_ipv4(ipha_t *, tcpha_t *, int, ip_stack_t *);
[all …]
H A Dip.h666 ip_stack_t *ilm_ipst; /* Does not have a netstack_hold */
922 ip_stack_t *thh_ipst;
1174 ip_stack_t *ipsq_ipst; /* does not have a netstack_hold */
1277 ip_stack_t *irb_ipst; /* Does not have a netstack_hold */
1797 ip_stack_t *ill_ipst; /* Corresponds to a netstack_hold */
2189 ip_stack_t *ixa_ipst; /* Always set */
2468 ip_stack_t *dce_ipst; /* Does not have a netstack_hold */
2708 ip_stack_t *ire_ipst; /* Does not have a netstack_hold */
3208 extern ill_t *ill_first(int, int, ill_walk_context_t *, ip_stack_t *);
3220 extern boolean_t icmp_err_rate_limit(ip_stack_t *);
[all …]
H A Dip_ftable.h70 ip_stack_t *rt_ipst; /* Does not have a netstack_hold */
78 extern void ire_delete_host_redirects(ipaddr_t, ip_stack_t *);
H A Dip_ndp.h97 ip_stack_t *ncec_ipst; /* Does not have a netstack_hold */
302 extern void ncec_walk(ill_t *, ncec_walk_cb_t, void *, ip_stack_t *);
328 extern void ip_nce_lookup_and_update(ipaddr_t *, ipif_t *, ip_stack_t *,
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_srcid.c108 static uint_t srcid_nextid(ip_stack_t *);
110 zoneid_t zoneid, ip_stack_t *);
111 static srcid_map_t **srcid_lookup_id(uint_t id, ip_stack_t *);
119 ip_srcid_insert(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) in ip_srcid_insert()
159 ip_srcid_remove(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) in ip_srcid_remove()
205 ip_stack_t *ipst = ns->netstack_ip; in ip_srcid_find_addr()
242 ip_stack_t *ipst = ns->netstack_ip; in ip_srcid_find_id()
274 srcid_nextid(ip_stack_t *ipst) in srcid_nextid()
304 srcid_lookup_addr(const in6_addr_t *addr, zoneid_t zoneid, ip_stack_t *ipst) in srcid_lookup_addr()
326 srcid_lookup_id(uint_t id, ip_stack_t *ipst) in srcid_lookup_id()
H A Dip6_asp.c108 static void ip6_asp_check_for_updates(ip_stack_t *);
111 ip6_asp_init(ip_stack_t *ipst) in ip6_asp_init()
123 ip6_asp_free(ip_stack_t *ipst) in ip6_asp_free()
138 ip6_asp_can_lookup(ip_stack_t *ipst) in ip6_asp_can_lookup()
155 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; in ip6_asp_pending_op()
176 ip6_asp_complete_op(ip_stack_t *ipst) in ip6_asp_complete_op()
209 ip6_asp_table_refrele(ip_stack_t *ipst) in ip6_asp_table_refrele()
226 ip6_asp_lookup(const in6_addr_t *addr, uint32_t *precedence, ip_stack_t *ipst) in ip6_asp_lookup()
259 ip6_asp_check_for_updates(ip_stack_t *ipst) in ip6_asp_check_for_updates()
303 boolean_t locked, ip_stack_t *ipst, model_t datamodel) in ip6_asp_replace()
[all …]
H A Dip_netinfo.c109 const size_t, boolean_t, ip_stack_t *);
111 ip_stack_t *);
113 ip_stack_t *);
115 ip_stack_t *);
117 ip_stack_t *);
121 ip_stack_t *);
124 ip_stack_t *);
253 ip_net_init(ip_stack_t *ipst, netstack_t *ns) in ip_net_init()
275 ip_net_destroy(ip_stack_t *ipst) in ip_net_destroy()
297 ipv4_hook_init(ip_stack_t *ipst) in ipv4_hook_init()
[all …]
H A Dip_dce.c135 dcb_reclaim(dcb_t *dcb, ip_stack_t *ipst, uint_t fraction) in dcb_reclaim()
189 ip_dce_reclaim_stack(ip_stack_t *ipst) in ip_dce_reclaim_stack()
220 ip_stack_t *ipst; in ip_dce_reclaim()
307 dce_stack_init(ip_stack_t *ipst) in dce_stack_init()
358 dce_stack_destroy(ip_stack_t *ipst) in dce_stack_destroy()
382 dce_get_default(ip_stack_t *ipst) in dce_get_default()
435 dce_lookup_v4(ipaddr_t dst, ip_stack_t *ipst, uint_t *generationp) in dce_lookup_v4()
475 dce_lookup_v6(const in6_addr_t *dst, uint_t ifindex, ip_stack_t *ipst, in dce_lookup_v6()
518 dce_lookup_and_add_v4(ipaddr_t dst, ip_stack_t *ipst) in dce_lookup_and_add_v4()
584 dce_lookup_and_add_v6(const in6_addr_t *dst, uint_t ifindex, ip_stack_t *ipst) in dce_lookup_and_add_v6()
[all …]
H A Dip_ire.c227 zoneid_t zoneid, ip_stack_t *);
422 ip_stack_t *ipst; in ip_ire_delete()
498 tsol_gc_t *gc, ip_stack_t *ipst) in ire_init_v4()
628 ip_stack_t *ipst) in ire_create()
656 uint_t flags, uchar_t ipversion, tsol_gc_t *gc, ip_stack_t *ipst) in ire_init_common()
726 ip_stack_t *ipst = ill->ill_ipst; in ire_create_bcast()
777 ire_walk(pfv_t func, void *arg, ip_stack_t *ipst) in ire_walk()
783 ire_walk_v4(pfv_t func, void *arg, zoneid_t zoneid, ip_stack_t *ipst) in ire_walk_v4()
789 ire_walk_v6(pfv_t func, void *arg, zoneid_t zoneid, ip_stack_t *ipst) in ire_walk_v6()
799 ip_stack_t *ipst) in ire_walk_ipvers()
[all …]
H A Dipmp.c99 ipmp_init(ip_stack_t *ipst) in ipmp_init()
111 ipmp_destroy(ip_stack_t *ipst) in ipmp_destroy()
128 ip_stack_t *ipst = PHYINT_TO_IPST(phyi); in ipmp_grp_create()
198 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); in ipmp_grp_update_kstats()
277 ipmp_grp_lookup(const char *grname, ip_stack_t *ipst) in ipmp_grp_lookup()
297 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); in ipmp_grp_info()
328 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); in ipmp_grp_insert()
356 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); in ipmp_grp_remove()
375 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); in ipmp_grp_rename()
407 ip_stack_t *ipst = IPMP_GRP_TO_IPST(grp); in ipmp_grp_destroy()
[all …]
H A Dip_mroute.c176 static int add_mfc(struct mfcctl *, ip_stack_t *);
177 static int add_vif(struct vifctl *, conn_t *, ip_stack_t *);
178 static int del_mfc(struct mfcctl *, ip_stack_t *);
179 static int del_vif(vifi_t *, ip_stack_t *);
183 static void fill_route(struct mfc *, struct mfcctl *, ip_stack_t *);
185 static int get_assert(uchar_t *, ip_stack_t *);
186 static int get_lsg_cnt(struct sioc_lsg_req *, ip_stack_t *);
187 static int get_sg_cnt(struct sioc_sg_req *, ip_stack_t *);
189 static int get_vif_cnt(struct sioc_vif_req *, ip_stack_t *);
192 static int ip_mrouter_init(conn_t *, uchar_t *, int, ip_stack_t *);
[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) in ire_init_v6()
183 uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) in ire_create_v6()
228 ip_stack_t *ipst, boolean_t *multirtp, in6_addr_t *setsrcp) in ire_lookup_multi_ill_v6()
316 ip_stack_t *ipst = ire->ire_ipst; in ire_add_v6()
505 ire_delete_host_redirects_v6(const in6_addr_t *gateway, ip_stack_t *ipst) in ire_delete_host_redirects_v6()
545 ip_stack_t *ipst = ire->ire_ipst; in ire_delete_v6()
602 ip_stack_t *ipst = ire->ire_ipst; in ire_flush_cache_v6()
648 ip_stack_t *ipst = ire->ire_ipst; in ire_flush_cache_v6()
692 ip_stack_t *ipst = ire->ire_ipst; in ire_match_args_v6()
[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, in ill_lookup_group_v6()
114 ip_stack_t *ipst) in ipif_lookup_interface_v6()
160 uint32_t match_flags, zoneid_t zoneid, ip_stack_t *ipst) in ipif_lookup_addr_common_v6()
230 ip_stack_t *ipst) in ipif_lookup_addr_v6()
243 zoneid_t zoneid, ip_stack_t *ipst) in ipif_lookup_addr_nondup_v6()
257 ip_stack_t *ipst) in ipif_lookup_addr_exact_v6()
275 ip_stack_t *ipst) in ipif_lookup_addr_zoneid_v6()
395 ill_t *ill, ire_t **ire_arg, struct rtsa_s *sp, ip_stack_t *ipst, in ip_rt_add_v6()
946 ip_stack_t *ipst, zoneid_t zoneid) in ip_rt_delete_v6()
[all …]
H A Dip_ftable.c84 static ire_t *route_to_dst(const struct sockaddr *, zoneid_t, ip_stack_t *);
98 int flags, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) in ire_ftable_lookup_v4()
223 ire_ftable_lookup_simple_v4(ipaddr_t addr, uint32_t xmit_hint, ip_stack_t *ipst, in ire_ftable_lookup_simple_v4()
342 ire_lookup_multi_ill_v4(ipaddr_t group, zoneid_t zoneid, ip_stack_t *ipst, in ire_lookup_multi_ill_v4()
382 ire_delete_host_redirects(ipaddr_t gateway, ip_stack_t *ipst) in ire_delete_host_redirects()
413 ip_stack_t *ipst = ire->ire_ipst; in ire_get_bucket()
484 ip_stack_t *ipst; in ifindex_lookup()
519 route_to_dst(const struct sockaddr *dst_addr, zoneid_t zoneid, ip_stack_t *ipst) in route_to_dst()
579 ip_stack_t *ipst; in ipfil_sendpkt()
808 ire_t *orig_ire, ip_stack_t *ipst) in ire_round_robin()
[all …]
H A Dip_tunables.c57 ip_stack_t *ipst = stack->netstack_ip; in ip_set_forwarding()
105 ip_stack_t *ipst = stack->netstack_ip; in ip_get_forwarding()
217 ip_stack_t *ipst = stack->netstack_ip; in ip_set_cgtp_filter()
275 ip_stack_t *ipst = stack->netstack_ip; in ip_get_mtu()
326 boolean_t isv6, ip_stack_t *ipst) in ip_set_src_multihoming_common()
362 ip_stack_t *ipst = stack->netstack_ip; in ip_set_src_multihoming()
382 ip_stack_t *ipst = stack->netstack_ip; in ip_set_hostmodel()
455 ip_stack_t *ipst = stack->netstack_ip; in ip_get_hostmodel()
H A Dipclassifier.c380 ipcl_init(ip_stack_t *ipst) in ipcl_init()
500 ipcl_destroy(ip_stack_t *ipst) in ipcl_destroy()
947 ipcl_iptun_classify_v4(ipaddr_t *src, ipaddr_t *dst, ip_stack_t *ipst) in ipcl_iptun_classify_v4()
982 ipcl_iptun_classify_v6(in6_addr_t *src, in6_addr_t *dst, ip_stack_t *ipst) in ipcl_iptun_classify_v6()
1013 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; in ipcl_sctp_hash_insert()
1052 ipcl_iptun_hash_insert(conn_t *connp, ip_stack_t *ipst) in ipcl_iptun_hash_insert()
1075 ipcl_iptun_hash_insert_v6(conn_t *connp, ip_stack_t *ipst) in ipcl_iptun_hash_insert_v6()
1105 check_exempt_conflict_v4(conn_t *connp, ip_stack_t *ipst) in check_exempt_conflict_v4()
1137 check_exempt_conflict_v6(conn_t *connp, ip_stack_t *ipst) in check_exempt_conflict_v6()
1188 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; in ipcl_bind_insert_v4()
[all …]
H A Dip.c681 mib2_ipIfStatsEntry_t *, ip_stack_t *, boolean_t);
683 ip_stack_t *, boolean_t);
684 static mblk_t *ip_snmp_get_mib2_ip6(queue_t *, mblk_t *, ip_stack_t *,
686 static mblk_t *ip_snmp_get_mib2_icmp(queue_t *, mblk_t *, ip_stack_t *ipst);
687 static mblk_t *ip_snmp_get_mib2_icmp6(queue_t *, mblk_t *, ip_stack_t *ipst);
688 static mblk_t *ip_snmp_get_mib2_igmp(queue_t *, mblk_t *, ip_stack_t *ipst);
689 static mblk_t *ip_snmp_get_mib2_multi(queue_t *, mblk_t *, ip_stack_t *ipst);
691 ip_stack_t *ipst, boolean_t);
693 ip_stack_t *ipst, boolean_t);
695 ip_stack_t *ipst);
[all …]
H A Dip_if.c146 static ipaddr_t ip_subnet_mask(ipaddr_t addr, ipif_t **, ip_stack_t *);
171 ip_stack_t *);
174 int *error, ip_stack_t *);
198 static void ip_cgtp_bcast_add(ire_t *, ip_stack_t *);
199 static void ip_cgtp_bcast_delete(ire_t *, ip_stack_t *);
388 ip_stack_t *ipst = ill->ill_ipst; in ill_delete()
496 ip_stack_t *ipst = ill->ill_ipst; in ill_delete_tail()
652 ip_stack_t *ipst = ill->ill_ipst; in ill_free_mib()
1199 ip_stack_t *ipst = ill->ill_ipst; in ill_down()
2226 ill_taskq_dispatch(ip_stack_t *ipst) in ill_taskq_dispatch()
[all …]
/illumos-gate/usr/src/uts/common/sys/tsol/
H A Dtnet.h52 uchar_t *, ip_stack_t *);
54 const in6_addr_t *, uchar_t *, ip_stack_t *);
56 uint_t, boolean_t, ip_stack_t *, ts_label_t **);
58 uint_t, boolean_t, ip_stack_t *, ts_label_t **);
86 ip_stack_t *);

123