Home
last modified time | relevance | path

Searched refs:ip_vs_dest (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_sh.c55 struct ip_vs_dest __rcu *dest; /* real server (cache) */
74 static inline bool is_unavailable(struct ip_vs_dest *dest) in is_unavailable()
103 static inline struct ip_vs_dest *
108 struct ip_vs_dest *dest = rcu_dereference(s->buckets[hash].dest); in ip_vs_sh_get()
120 static inline struct ip_vs_dest *
126 struct ip_vs_dest *dest; in ip_vs_sh_get_fallback()
168 struct ip_vs_dest *dest; in ip_vs_sh_reassign()
186 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_sh_reassign()
214 struct ip_vs_dest *dest; in ip_vs_sh_flush()
264 struct ip_vs_dest *dest) in ip_vs_sh_dest_changed()
[all …]
Dip_vs_dh.c50 struct ip_vs_dest __rcu *dest; /* real server (cache) */
87 static inline struct ip_vs_dest *
103 struct ip_vs_dest *dest; in ip_vs_dh_reassign()
119 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_dh_reassign()
138 struct ip_vs_dest *dest; in ip_vs_dh_flush()
188 struct ip_vs_dest *dest) in ip_vs_dh_dest_changed()
203 static inline int is_overloaded(struct ip_vs_dest *dest) in is_overloaded()
212 static struct ip_vs_dest *
216 struct ip_vs_dest *dest; in ip_vs_dh_schedule()
Dip_vs_mh.c39 struct ip_vs_dest __rcu *dest; /* real server (cache) */
81 static inline bool is_unavailable(struct ip_vs_dest *dest) in is_unavailable()
109 struct ip_vs_dest *dest; in ip_vs_mh_reset()
127 struct ip_vs_dest *dest; in ip_vs_mh_permutate()
141 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_mh_permutate()
166 struct ip_vs_dest *dest, *new_dest; in ip_vs_mh_populate()
209 new_dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_mh_populate()
234 static inline struct ip_vs_dest *
240 struct ip_vs_dest *dest = rcu_dereference(s->lookup[hash].dest); in ip_vs_mh_get()
246 static inline struct ip_vs_dest *
[all …]
Dip_vs_wrr.c61 struct ip_vs_dest *cl; /* current dest or head */
71 struct ip_vs_dest *dest; in ip_vs_wrr_gcd_weight()
93 struct ip_vs_dest *dest; in ip_vs_wrr_max_weight()
117 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); in ip_vs_wrr_init_svc()
139 struct ip_vs_dest *dest) in ip_vs_wrr_dest_changed()
144 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); in ip_vs_wrr_dest_changed()
159 static struct ip_vs_dest *
163 struct ip_vs_dest *dest, *last, *stop = NULL; in ip_vs_wrr_schedule()
Dip_vs_lblcr.c88 struct ip_vs_dest *dest; /* destination server */
100 struct ip_vs_dest *dest, bool check) in ip_vs_dest_set_insert()
134 ip_vs_dest_set_erase(struct ip_vs_dest_set *set, struct ip_vs_dest *dest) in ip_vs_dest_set_erase()
161 static inline struct ip_vs_dest *ip_vs_dest_set_min(struct ip_vs_dest_set *set) in ip_vs_dest_set_min()
164 struct ip_vs_dest *dest, *least; in ip_vs_dest_set_min()
210 static inline struct ip_vs_dest *ip_vs_dest_set_max(struct ip_vs_dest_set *set) in ip_vs_dest_set_max()
213 struct ip_vs_dest *dest, *most; in ip_vs_dest_set_max()
362 u16 af, struct ip_vs_dest *dest) in ip_vs_lblcr_new()
562 static inline struct ip_vs_dest *
565 struct ip_vs_dest *dest, *least; in __ip_vs_lblcr_schedule()
[all …]
Dip_vs_rr.c33 static int ip_vs_rr_del_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest) in ip_vs_rr_del_dest()
52 static struct ip_vs_dest *
57 struct ip_vs_dest *dest, *last; in ip_vs_rr_schedule()
64 last = dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_rr_schedule()
Dip_vs_nq.c39 ip_vs_nq_dest_overhead(struct ip_vs_dest *dest) in ip_vs_nq_dest_overhead()
52 static struct ip_vs_dest *
56 struct ip_vs_dest *dest, *least = NULL; in ip_vs_nq_schedule()
Dip_vs_sed.c43 ip_vs_sed_dest_overhead(struct ip_vs_dest *dest) in ip_vs_sed_dest_overhead()
56 static struct ip_vs_dest *
60 struct ip_vs_dest *dest, *least; in ip_vs_sed_schedule()
Dip_vs_lblc.c92 struct ip_vs_dest *dest; /* real server (cache) */
199 u16 af, struct ip_vs_dest *dest) in ip_vs_lblc_new()
399 static inline struct ip_vs_dest *
402 struct ip_vs_dest *dest, *least; in __ip_vs_lblc_schedule()
461 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) in is_overloaded()
464 struct ip_vs_dest *d; in is_overloaded()
480 static struct ip_vs_dest *
485 struct ip_vs_dest *dest = NULL; in ip_vs_lblc_schedule()
Dip_vs_fo.c20 static struct ip_vs_dest *
24 struct ip_vs_dest *dest, *hweight = NULL; in ip_vs_fo_schedule()
Dip_vs_ovf.c24 static struct ip_vs_dest *
28 struct ip_vs_dest *dest, *h = NULL; in ip_vs_ovf_schedule()
Dip_vs_lc.c23 static struct ip_vs_dest *
27 struct ip_vs_dest *dest, *least = NULL; in ip_vs_lc_schedule()
Dip_vs_wlc.c28 static struct ip_vs_dest *
32 struct ip_vs_dest *dest, *least; in ip_vs_wlc_schedule()
Dip_vs_twos.c44 static struct ip_vs_dest *ip_vs_twos_schedule(struct ip_vs_service *svc, in ip_vs_twos_schedule()
48 struct ip_vs_dest *dest, *choice1 = NULL, *choice2 = NULL; in ip_vs_twos_schedule()
Dip_vs_ctl.c466 __ip_vs_bind_svc(struct ip_vs_dest *dest, struct ip_vs_service *svc) in __ip_vs_bind_svc()
522 static void ip_vs_rs_hash(struct netns_ipvs *ipvs, struct ip_vs_dest *dest) in ip_vs_rs_hash()
562 static void ip_vs_rs_unhash(struct ip_vs_dest *dest) in ip_vs_rs_unhash()
578 struct ip_vs_dest *dest; in ip_vs_has_real_service()
603 struct ip_vs_dest *ip_vs_find_real_service(struct netns_ipvs *ipvs, int af, in ip_vs_find_real_service()
609 struct ip_vs_dest *dest; in ip_vs_find_real_service()
634 struct ip_vs_dest *ip_vs_find_tunnel(struct netns_ipvs *ipvs, int af, in ip_vs_find_tunnel()
638 struct ip_vs_dest *dest; in ip_vs_find_tunnel()
660 static struct ip_vs_dest *
664 struct ip_vs_dest *dest; in ip_vs_lookup_dest()
[all …]
Dip_vs_conn.c573 static inline int ip_vs_dest_totalconns(struct ip_vs_dest *dest) in ip_vs_dest_totalconns()
584 ip_vs_bind_dest(struct ip_vs_conn *cp, struct ip_vs_dest *dest) in ip_vs_bind_dest()
653 struct ip_vs_dest *dest; in ip_vs_try_bind_dest()
706 struct ip_vs_dest *dest = cp->dest; in ip_vs_unbind_dest()
752 struct ip_vs_dest *dest) in expire_quiescent_template()
767 int ip_vs_check_template(struct ip_vs_conn *ct, struct ip_vs_dest *cdest) in ip_vs_check_template()
769 struct ip_vs_dest *dest = ct->dest; in ip_vs_check_template()
943 struct ip_vs_dest *dest, __u32 fwmark) in ip_vs_conn_new()
1410 struct ip_vs_dest *dest; in ip_vs_expire_nodest_conn_flush()
Dip_vs_core.c124 struct ip_vs_dest *dest = cp->dest; in ip_vs_in_stats()
160 struct ip_vs_dest *dest = cp->dest; in ip_vs_out_stats()
258 struct ip_vs_dest *dest; in ip_vs_sched_persist()
448 struct ip_vs_dest *dest; in ip_vs_schedule()
1130 struct ip_vs_dest *dest, in ip_vs_new_conn_out()
1227 struct ip_vs_dest *dest; in __ip_vs_rs_conn_out()
1515 struct ip_vs_dest *dest; in ipvs_udp_decap()
1550 struct ip_vs_dest *dest; in ipvs_gre_decap()
1640 struct ip_vs_dest *dest; in ip_vs_in_icmp()
1742 struct ip_vs_dest *dest = cp->dest; in ip_vs_in_icmp()
Dip_vs_pe_sip.c149 struct ip_vs_dest *dest, in ip_vs_sip_conn_out()
Dip_vs_xmit.c73 __ip_vs_dst_set(struct ip_vs_dest *dest, struct ip_vs_dest_dst *dest_dst, in __ip_vs_dst_set()
92 __ip_vs_dst_check(struct ip_vs_dest *dest) in __ip_vs_dst_check()
308 struct ip_vs_dest *dest, in __ip_vs_get_out_rt()
470 struct ip_vs_dest *dest, in __ip_vs_get_out_rt_v6()
Dip_vs_proto_sctp.c437 struct ip_vs_dest *dest = cp->dest; in set_sctp_state()
Dip_vs_proto_tcp.c540 struct ip_vs_dest *dest = cp->dest; in set_tcp_state()
Dip_vs_sync.c849 struct ip_vs_dest *dest; in ip_vs_proc_conn()
/linux-6.1.9/include/net/
Dip_vs.h535 struct ip_vs_dest *dest; /* real server */
654 struct ip_vs_dest { struct
707 int (*add_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest); argument
709 int (*del_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
711 int (*upd_dest)(struct ip_vs_service *svc, struct ip_vs_dest *dest);
714 struct ip_vs_dest* (*schedule)(struct ip_vs_service *svc,
735 struct ip_vs_dest *dest,
1185 struct ip_vs_dest *dest,
1256 struct ip_vs_dest *dest, __u32 fwmark);
1262 int ip_vs_check_template(struct ip_vs_conn *ct, struct ip_vs_dest *cdest);
[all …]