Home
last modified time | relevance | path

Searched refs:ip_vs_conn (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/include/net/
Dip_vs.h410 struct ip_vs_conn;
433 int *verdict, struct ip_vs_conn **cpp,
436 struct ip_vs_conn *
442 struct ip_vs_conn *
449 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph);
452 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph);
456 void (*state_transition)(struct ip_vs_conn *cp, int direction,
464 int (*app_conn_bind)(struct ip_vs_conn *cp);
502 struct ip_vs_conn { struct
533 struct ip_vs_conn *control; /* Master control connection */ argument
[all …]
/linux-5.19.10/net/netfilter/ipvs/
Dip_vs_conn.c143 static unsigned int ip_vs_conn_hashkey_conn(const struct ip_vs_conn *cp) in ip_vs_conn_hashkey_conn()
163 static inline int ip_vs_conn_hash(struct ip_vs_conn *cp) in ip_vs_conn_hash()
199 static inline int ip_vs_conn_unhash(struct ip_vs_conn *cp) in ip_vs_conn_unhash()
227 static inline bool ip_vs_conn_unlink(struct ip_vs_conn *cp) in ip_vs_conn_unlink()
262 static inline struct ip_vs_conn *
266 struct ip_vs_conn *cp; in __ip_vs_conn_in_get()
293 struct ip_vs_conn *ip_vs_conn_in_get(const struct ip_vs_conn_param *p) in ip_vs_conn_in_get()
295 struct ip_vs_conn *cp; in ip_vs_conn_in_get()
334 struct ip_vs_conn *
349 struct ip_vs_conn *ip_vs_ct_in_get(const struct ip_vs_conn_param *p) in ip_vs_ct_in_get()
[all …]
Dip_vs_proto_ah_esp.c54 static struct ip_vs_conn *
58 struct ip_vs_conn *cp; in ah_esp_conn_in_get()
80 static struct ip_vs_conn *
84 struct ip_vs_conn *cp; in ah_esp_conn_out_get()
105 int *verdict, struct ip_vs_conn **cpp, in ah_esp_conn_schedule()
Dip_vs_app.c259 int ip_vs_bind_app(struct ip_vs_conn *cp, in ip_vs_bind_app()
269 void ip_vs_unbind_app(struct ip_vs_conn *cp) in ip_vs_unbind_app()
346 static inline void vs_seq_update(struct ip_vs_conn *cp, struct ip_vs_seq *vseq, in vs_seq_update()
360 static inline int app_tcp_pkt_out(struct ip_vs_conn *cp, struct sk_buff *skb, in app_tcp_pkt_out()
411 int ip_vs_app_pkt_out(struct ip_vs_conn *cp, struct sk_buff *skb, in ip_vs_app_pkt_out()
437 static inline int app_tcp_pkt_in(struct ip_vs_conn *cp, struct sk_buff *skb, in app_tcp_pkt_in()
488 int ip_vs_app_pkt_in(struct ip_vs_conn *cp, struct sk_buff *skb, in ip_vs_app_pkt_in()
Dip_vs_core.c122 ip_vs_in_stats(struct ip_vs_conn *cp, struct sk_buff *skb) in ip_vs_in_stats()
158 ip_vs_out_stats(struct ip_vs_conn *cp, struct sk_buff *skb) in ip_vs_out_stats()
194 ip_vs_conn_stats(struct ip_vs_conn *cp, struct ip_vs_service *svc) in ip_vs_conn_stats()
221 ip_vs_set_state(struct ip_vs_conn *cp, int direction, in ip_vs_set_state()
252 static struct ip_vs_conn *
257 struct ip_vs_conn *cp = NULL; in ip_vs_sched_persist()
259 struct ip_vs_conn *ct; in ip_vs_sched_persist()
440 struct ip_vs_conn *
446 struct ip_vs_conn *cp = NULL; in ip_vs_schedule()
604 struct ip_vs_conn *cp; in ip_vs_leave()
[all …]
Dip_vs_ftp.c77 ip_vs_ftp_init_conn(struct ip_vs_app *app, struct ip_vs_conn *cp) in ip_vs_ftp_init_conn()
86 ip_vs_ftp_done_conn(struct ip_vs_app *app, struct ip_vs_conn *cp) in ip_vs_ftp_done_conn()
248 static int ip_vs_ftp_out(struct ip_vs_app *app, struct ip_vs_conn *cp, in ip_vs_ftp_out()
256 struct ip_vs_conn *n_cp; in ip_vs_ftp_out()
418 static int ip_vs_ftp_in(struct ip_vs_app *app, struct ip_vs_conn *cp, in ip_vs_ftp_in()
426 struct ip_vs_conn *n_cp; in ip_vs_ftp_in()
Dip_vs_nfct.c71 ip_vs_update_conntrack(struct sk_buff *skb, struct ip_vs_conn *cp, int outin) in ip_vs_update_conntrack()
144 struct ip_vs_conn *cp; in ip_vs_nfct_expect_callback()
212 struct ip_vs_conn *cp, u_int8_t proto, in ip_vs_nfct_expect_related()
242 void ip_vs_conn_drop_conntrack(struct ip_vs_conn *cp) in ip_vs_conn_drop_conntrack()
Dip_vs_pe_sip.c108 struct ip_vs_conn *ct) in ip_vs_sip_ct_match()
141 static int ip_vs_sip_show_pe_data(const struct ip_vs_conn *cp, char *buf) in ip_vs_sip_show_pe_data()
147 static struct ip_vs_conn *
Dip_vs_xmit.c602 struct ip_vs_conn *cp) in ip_vs_tunnel_xmit_prepare()
635 struct ip_vs_conn *cp, int local) in ip_vs_nat_send_or_cont()
666 struct ip_vs_conn *cp, int local) in ip_vs_send_or_cont()
690 ip_vs_null_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, in ip_vs_null_xmit()
704 ip_vs_bypass_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, in ip_vs_bypass_xmit()
733 ip_vs_bypass_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, in ip_vs_bypass_xmit_v6()
765 ip_vs_nat_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, in ip_vs_nat_xmit()
853 ip_vs_nat_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, in ip_vs_nat_xmit_v6()
1023 struct ip_vs_conn *cp, __u8 *next_protocol) in ipvs_gue_encap()
1097 struct ip_vs_conn *cp, __u8 *next_protocol) in ipvs_gre_encap()
[all …]
Dip_vs_proto_udp.c33 int *verdict, struct ip_vs_conn **cpp, in udp_conn_schedule()
137 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in udp_snat_handler()
220 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in udp_dnat_handler()
395 static int udp_app_conn_bind(struct ip_vs_conn *cp) in udp_app_conn_bind()
452 udp_state_transition(struct ip_vs_conn *cp, int direction, in udp_state_transition()
Dip_vs_proto_tcp.c37 int *verdict, struct ip_vs_conn **cpp, in tcp_conn_schedule()
148 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in tcp_snat_handler()
226 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in tcp_dnat_handler()
512 set_tcp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, in set_tcp_state()
588 tcp_state_transition(struct ip_vs_conn *cp, int direction, in tcp_state_transition()
651 tcp_app_conn_bind(struct ip_vs_conn *cp) in tcp_app_conn_bind()
693 void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp) in ip_vs_tcp_conn_listen()
Dip_vs_proto_sctp.c18 int *verdict, struct ip_vs_conn **cpp, in sctp_conn_schedule()
92 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in sctp_snat_handler()
139 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in sctp_dnat_handler()
378 set_sctp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, in set_sctp_state()
474 sctp_state_transition(struct ip_vs_conn *cp, int direction, in sctp_state_transition()
519 static int sctp_app_conn_bind(struct ip_vs_conn *cp) in sctp_app_conn_bind()
DMakefile16 ip_vs-objs := ip_vs_conn.o ip_vs_core.o ip_vs_ctl.o ip_vs_sched.o \
Dip_vs_sync.c407 select_master_thread_id(struct netns_ipvs *ipvs, struct ip_vs_conn *cp) in select_master_thread_id()
442 static inline bool in_persistence(struct ip_vs_conn *cp) in in_persistence()
461 struct ip_vs_conn *cp, int pkts) in ip_vs_sync_conn_needed()
540 static void ip_vs_sync_conn_v0(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, in ip_vs_sync_conn_v0()
630 void ip_vs_sync_conn(struct netns_ipvs *ipvs, struct ip_vs_conn *cp, int pkts) in ip_vs_sync_conn()
850 struct ip_vs_conn *cp; in ip_vs_proc_conn()
Dip_vs_proto.c196 const char *ip_vs_state_name(const struct ip_vs_conn *cp) in ip_vs_state_name()
/linux-5.19.10/net/netfilter/
Dxt_ipvs.c57 struct ip_vs_conn *cp; in ipvs_mt()