Home
last modified time | relevance | path

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

123

/titanic_44/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.h119 extern void ip6_asp_free(ip_stack_t *);
120 extern void ip6_asp_init(ip_stack_t *);
121 extern boolean_t ip6_asp_can_lookup(ip_stack_t *);
122 extern void ip6_asp_table_refrele(ip_stack_t *);
123 extern char *ip6_asp_lookup(const in6_addr_t *, uint32_t *, ip_stack_t *);
125 ip_stack_t *, model_t);
126 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.h680 extern void ipcl_init(ip_stack_t *);
682 extern void ipcl_destroy(ip_stack_t *);
699 ip_stack_t *);
701 ip_stack_t *);
702 conn_t *ipcl_classify(mblk_t *, ip_recv_attr_t *, ip_stack_t *);
704 ip6_t *, ip_recv_attr_t *, ip_stack_t *);
705 conn_t *ipcl_iptun_classify_v4(ipaddr_t *, ipaddr_t *, ip_stack_t *);
706 conn_t *ipcl_iptun_classify_v6(in6_addr_t *, in6_addr_t *, ip_stack_t *);
709 void ipcl_walk(pfv_t, void *, ip_stack_t *);
710 conn_t *ipcl_tcp_lookup_reversed_ipv4(ipha_t *, tcpha_t *, int, ip_stack_t *);
[all …]
H A Dip.h665 ip_stack_t *ilm_ipst; /* Does not have a netstack_hold */
921 ip_stack_t *thh_ipst;
1173 ip_stack_t *ipsq_ipst; /* does not have a netstack_hold */
1276 ip_stack_t *irb_ipst; /* Does not have a netstack_hold */
1793 ip_stack_t *ill_ipst; /* Corresponds to a netstack_hold */
2184 ip_stack_t *ixa_ipst; /* Always set */
2462 ip_stack_t *dce_ipst; /* Does not have a netstack_hold */
2702 ip_stack_t *ire_ipst; /* Does not have a netstack_hold */
3202 extern ill_t *ill_first(int, int, ill_walk_context_t *, ip_stack_t *);
3214 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 */
300 extern void ncec_walk(ill_t *, pfi_t, void *, ip_stack_t *);
326 extern void ip_nce_lookup_and_update(ipaddr_t *, ipif_t *, ip_stack_t *,
/titanic_44/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.c87 static void ip6_asp_check_for_updates(ip_stack_t *);
90 ip6_asp_init(ip_stack_t *ipst) in ip6_asp_init()
102 ip6_asp_free(ip_stack_t *ipst) in ip6_asp_free()
117 ip6_asp_can_lookup(ip_stack_t *ipst) in ip6_asp_can_lookup()
134 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; in ip6_asp_pending_op()
155 ip6_asp_complete_op(ip_stack_t *ipst) in ip6_asp_complete_op()
188 ip6_asp_table_refrele(ip_stack_t *ipst) in ip6_asp_table_refrele()
205 ip6_asp_lookup(const in6_addr_t *addr, uint32_t *precedence, ip_stack_t *ipst) in ip6_asp_lookup()
238 ip6_asp_check_for_updates(ip_stack_t *ipst) in ip6_asp_check_for_updates()
282 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.c130 dcb_reclaim(dcb_t *dcb, ip_stack_t *ipst, uint_t fraction) in dcb_reclaim()
184 ip_dce_reclaim_stack(ip_stack_t *ipst) in ip_dce_reclaim_stack()
215 ip_stack_t *ipst; in ip_dce_reclaim()
302 dce_stack_init(ip_stack_t *ipst) in dce_stack_init()
330 dce_stack_destroy(ip_stack_t *ipst) in dce_stack_destroy()
352 dce_get_default(ip_stack_t *ipst) in dce_get_default()
405 dce_lookup_v4(ipaddr_t dst, ip_stack_t *ipst, uint_t *generationp) in dce_lookup_v4()
445 dce_lookup_v6(const in6_addr_t *dst, uint_t ifindex, ip_stack_t *ipst, in dce_lookup_v6()
488 dce_lookup_and_add_v4(ipaddr_t dst, ip_stack_t *ipst) in dce_lookup_and_add_v4()
554 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.c171 static int add_mfc(struct mfcctl *, ip_stack_t *);
172 static int add_vif(struct vifctl *, conn_t *, ip_stack_t *);
173 static int del_mfc(struct mfcctl *, ip_stack_t *);
174 static int del_vif(vifi_t *, ip_stack_t *);
178 static void fill_route(struct mfc *, struct mfcctl *, ip_stack_t *);
180 static int get_assert(uchar_t *, ip_stack_t *);
181 static int get_lsg_cnt(struct sioc_lsg_req *, ip_stack_t *);
182 static int get_sg_cnt(struct sioc_sg_req *, ip_stack_t *);
184 static int get_vif_cnt(struct sioc_vif_req *, ip_stack_t *);
187 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()
693 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_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 Dip_ftable.c83 static ire_t *route_to_dst(const struct sockaddr *, zoneid_t, ip_stack_t *);
97 int flags, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) in ire_ftable_lookup_v4()
222 ire_ftable_lookup_simple_v4(ipaddr_t addr, uint32_t xmit_hint, ip_stack_t *ipst, in ire_ftable_lookup_simple_v4()
341 ire_lookup_multi_ill_v4(ipaddr_t group, zoneid_t zoneid, ip_stack_t *ipst, in ire_lookup_multi_ill_v4()
381 ire_delete_host_redirects(ipaddr_t gateway, ip_stack_t *ipst) in ire_delete_host_redirects()
412 ip_stack_t *ipst = ire->ire_ipst; in ire_get_bucket()
483 ip_stack_t *ipst; in ifindex_lookup()
518 route_to_dst(const struct sockaddr *dst_addr, zoneid_t zoneid, ip_stack_t *ipst) in route_to_dst()
578 ip_stack_t *ipst; in ipfil_sendpkt()
807 ire_t *orig_ire, ip_stack_t *ipst) in ire_round_robin()
[all …]
H A Dipclassifier.c377 ipcl_init(ip_stack_t *ipst) in ipcl_init()
497 ipcl_destroy(ip_stack_t *ipst) in ipcl_destroy()
943 ipcl_iptun_classify_v4(ipaddr_t *src, ipaddr_t *dst, ip_stack_t *ipst) in ipcl_iptun_classify_v4()
978 ipcl_iptun_classify_v6(in6_addr_t *src, in6_addr_t *dst, ip_stack_t *ipst) in ipcl_iptun_classify_v6()
1009 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; in ipcl_sctp_hash_insert()
1048 ipcl_iptun_hash_insert(conn_t *connp, ip_stack_t *ipst) in ipcl_iptun_hash_insert()
1071 ipcl_iptun_hash_insert_v6(conn_t *connp, ip_stack_t *ipst) in ipcl_iptun_hash_insert_v6()
1101 check_exempt_conflict_v4(conn_t *connp, ip_stack_t *ipst) in check_exempt_conflict_v4()
1133 check_exempt_conflict_v6(conn_t *connp, ip_stack_t *ipst) in check_exempt_conflict_v6()
1184 ip_stack_t *ipst = connp->conn_netstack->netstack_ip; in ipcl_bind_insert_v4()
[all …]
H A Dip.c678 mib2_ipIfStatsEntry_t *, ip_stack_t *, boolean_t);
680 ip_stack_t *, boolean_t);
681 static mblk_t *ip_snmp_get_mib2_ip6(queue_t *, mblk_t *, ip_stack_t *,
683 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);
[all …]
H A Dip_ndp.c254 ip_stack_t *ipst = ill->ill_ipst; in nce_add_v6_postprocess()
330 ip_stack_t *ipst = ill->ill_ipst; in nce_lookup_then_add_v6()
459 ip_stack_t *ipst = ncec->ncec_ipst; in ncec_delete()
539 ip_stack_t *ipst = ncec->ncec_ipst; in ncec_inactive()
693 ip_stack_t *ipst = ill->ill_ipst; in ncec_lookup_illgrp_v6()
714 ip_stack_t *ipst = ill->ill_ipst; in ncec_lookup_illgrp_v4()
742 ip_stack_t *ipst = ill->ill_ipst; in ncec_lookup_illgrp()
780 ip_stack_t *ipst = ill->ill_ipst; in nce_lookup_v4()
798 ip_stack_t *ipst = ill->ill_ipst; in nce_lookup_v6()
839 ip_stack_t *ipst = ncec->ncec_ipst; in ncec_router_to_host()
[all …]
/titanic_44/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