/linux-2.4.37.9/net/ipv4/ipvs/ |
D | ip_vs_sh.c | 47 struct ip_vs_dest *dest; /* real server (cache) */ 73 static inline struct ip_vs_dest * 89 struct ip_vs_dest *dest; in ip_vs_sh_assign() 100 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_sh_assign() 188 static inline int is_overloaded(struct ip_vs_dest *dest) in is_overloaded() 200 static struct ip_vs_dest * 203 struct ip_vs_dest *dest; in ip_vs_sh_schedule()
|
D | ip_vs_dh.c | 50 struct ip_vs_dest *dest; /* real server (cache) */ 76 static inline struct ip_vs_dest * 92 struct ip_vs_dest *dest; in ip_vs_dh_assign() 103 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_dh_assign() 191 static inline int is_overloaded(struct ip_vs_dest *dest) in is_overloaded() 203 static struct ip_vs_dest * 206 struct ip_vs_dest *dest; in ip_vs_dh_schedule()
|
D | ip_vs_wrr.c | 56 struct ip_vs_dest *dest; in ip_vs_wrr_gcd_weight() 62 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_wrr_gcd_weight() 73 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_wrr_gcd_weight() 89 struct ip_vs_dest *dest; in ip_vs_wrr_max_weight() 94 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_wrr_max_weight() 152 static struct ip_vs_dest * 155 struct ip_vs_dest *dest; in ip_vs_wrr_schedule() 195 dest = list_entry(mark->cl, struct ip_vs_dest, n_list); in ip_vs_wrr_schedule()
|
D | ip_vs_lc.c | 44 ip_vs_lc_dest_overhead(struct ip_vs_dest *dest) in ip_vs_lc_dest_overhead() 61 static struct ip_vs_dest * 65 struct ip_vs_dest *dest, *least; in ip_vs_lc_schedule() 81 least = list_entry (e, struct ip_vs_dest, n_list); in ip_vs_lc_schedule() 94 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_lc_schedule()
|
D | ip_vs_sed.c | 68 ip_vs_sed_dest_overhead(struct ip_vs_dest *dest) in ip_vs_sed_dest_overhead() 81 static struct ip_vs_dest * 85 struct ip_vs_dest *dest, *least; in ip_vs_sed_schedule() 105 least = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_sed_schedule() 118 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_sed_schedule()
|
D | ip_vs_wlc.c | 52 ip_vs_wlc_dest_overhead(struct ip_vs_dest *dest) in ip_vs_wlc_dest_overhead() 69 static struct ip_vs_dest * 73 struct ip_vs_dest *dest, *least; in ip_vs_wlc_schedule() 93 least = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_wlc_schedule() 106 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_wlc_schedule()
|
D | ip_vs_nq.c | 64 ip_vs_nq_dest_overhead(struct ip_vs_dest *dest) in ip_vs_nq_dest_overhead() 77 static struct ip_vs_dest * 81 struct ip_vs_dest *dest, *least; in ip_vs_nq_schedule() 101 least = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_nq_schedule() 119 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_nq_schedule()
|
D | ip_vs_lblcr.c | 87 struct ip_vs_dest *dest; /* destination server */ 99 ip_vs_dest_set_insert(struct ip_vs_dest_set *set, struct ip_vs_dest *dest) in ip_vs_dest_set_insert() 130 ip_vs_dest_set_erase(struct ip_vs_dest_set *set, struct ip_vs_dest *dest) in ip_vs_dest_set_erase() 168 static inline struct ip_vs_dest *ip_vs_dest_set_min(struct ip_vs_dest_set *set) in ip_vs_dest_set_min() 171 struct ip_vs_dest *dest, *least; in ip_vs_dest_set_min() 217 static inline struct ip_vs_dest *ip_vs_dest_set_max(struct ip_vs_dest_set *set) in ip_vs_dest_set_max() 220 struct ip_vs_dest *dest, *most; in ip_vs_dest_set_max() 698 static inline struct ip_vs_dest * 702 struct ip_vs_dest *dest, *least; in __ip_vs_wlc_schedule() 725 least = list_entry(e, struct ip_vs_dest, n_list); in __ip_vs_wlc_schedule() [all …]
|
D | ip_vs_lblc.c | 89 struct ip_vs_dest *dest; /* real server (cache) */ 140 ip_vs_lblc_new(__u32 daddr, struct ip_vs_dest *dest) in ip_vs_lblc_new() 448 static inline struct ip_vs_dest * 452 struct ip_vs_dest *dest, *least; in __ip_vs_wlc_schedule() 475 least = list_entry(e, struct ip_vs_dest, n_list); in __ip_vs_wlc_schedule() 489 dest = list_entry(e, struct ip_vs_dest, n_list); in __ip_vs_wlc_schedule() 515 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) in is_overloaded() 519 struct ip_vs_dest *d; in is_overloaded() 523 d = list_entry(e, struct ip_vs_dest, n_list); in is_overloaded() 537 static struct ip_vs_dest * [all …]
|
D | ip_vs_ctl.c | 441 __ip_vs_bind_svc(struct ip_vs_dest *dest, struct ip_vs_service *svc) in __ip_vs_bind_svc() 448 __ip_vs_unbind_svc(struct ip_vs_dest *dest) in __ip_vs_unbind_svc() 473 static int ip_vs_rs_hash(struct ip_vs_dest *dest) in ip_vs_rs_hash() 496 static int ip_vs_rs_unhash(struct ip_vs_dest *dest) in ip_vs_rs_unhash() 512 struct ip_vs_dest * 516 struct ip_vs_dest *dest; in ip_vs_lookup_real_service() 529 dest = list_entry(e, struct ip_vs_dest, d_list); in ip_vs_lookup_real_service() 547 static struct ip_vs_dest * 550 struct ip_vs_dest *dest; in ip_vs_lookup_dest() 558 dest = list_entry(e, struct ip_vs_dest, n_list); in ip_vs_lookup_dest() [all …]
|
D | ip_vs_rr.c | 53 static struct ip_vs_dest * 57 struct ip_vs_dest *dest; in ip_vs_rr_schedule() 70 dest = list_entry(q, struct ip_vs_dest, n_list); in ip_vs_rr_schedule()
|
D | ip_vs_core.c | 89 struct ip_vs_dest *dest = cp->dest; in ip_vs_in_stats() 112 struct ip_vs_dest *dest = cp->dest; in ip_vs_out_stats() 158 struct ip_vs_dest *dest; in ip_vs_sched_persist() 333 struct ip_vs_dest *dest; in ip_vs_schedule()
|
D | ip_vs_conn.c | 561 struct ip_vs_dest *dest = cp->dest; in vs_tcp_state() 1086 ip_vs_bind_dest(struct ip_vs_conn *cp, struct ip_vs_dest *dest) in ip_vs_bind_dest() 1117 struct ip_vs_dest *dest = cp->dest; in ip_vs_unbind_dest() 1162 struct ip_vs_dest *dest = ct->dest; in ip_vs_check_template() 1293 struct ip_vs_dest *dest) in ip_vs_conn_new()
|
/linux-2.4.37.9/include/net/ |
D | ip_vs.h | 431 struct ip_vs_dest *dest; /* real server */ 480 struct ip_vs_dest { struct 525 struct ip_vs_dest* (*schedule)(struct ip_vs_service *svc, argument 611 struct ip_vs_dest *dest); 722 extern struct ip_vs_dest * 824 __ip_vs_dst_set(struct ip_vs_dest *dest, u32 rtos, struct dst_entry *dst) in __ip_vs_dst_set() 835 __ip_vs_dst_reset(struct ip_vs_dest *dest) in __ip_vs_dst_reset() 845 __ip_vs_dst_check(struct ip_vs_dest *dest, u32 rtos, u32 cookie) in __ip_vs_dst_check() 864 struct ip_vs_dest *dest = cp->dest; in __ip_vs_get_out_rt()
|