Home
last modified time | relevance | path

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

/linux/include/net/
H A Dip_vs.h471 struct ip_vs_conn;
494 int *verdict, struct ip_vs_conn **cpp,
497 struct ip_vs_conn *
503 struct ip_vs_conn *
510 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph);
513 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph);
517 void (*state_transition)(struct ip_vs_conn *cp, int direction,
525 int (*app_conn_bind)(struct ip_vs_conn *cp);
563 struct ip_vs_conn { struct
594 struct ip_vs_conn *control; /* Master control connection */ argument
[all …]
/linux/net/netfilter/ipvs/
H A 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 …]
H A 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()
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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()
729 ip_vs_bypass_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, in ip_vs_bypass_xmit_v6()
757 ip_vs_nat_xmit(struct sk_buff *skb, struct ip_vs_conn *cp, in ip_vs_nat_xmit()
841 ip_vs_nat_xmit_v6(struct sk_buff *skb, struct ip_vs_conn *cp, in ip_vs_nat_xmit_v6()
1007 struct ip_vs_conn *cp, __u8 *next_protocol) in ipvs_gue_encap()
1081 struct ip_vs_conn *cp, __u8 *next_protocol) in ipvs_gre_encap()
[all …]
H A 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 *
H A 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()
H A 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()
H A 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()
140 struct ip_vs_conn *cp, struct ip_vs_iphdr *iph) in sctp_dnat_handler()
380 set_sctp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, in set_sctp_state()
476 sctp_state_transition(struct ip_vs_conn *cp, int direction, in sctp_state_transition()
521 static int sctp_app_conn_bind(struct ip_vs_conn *cp) in sctp_app_conn_bind()
H A DMakefile16 ip_vs-objs := ip_vs_conn.o ip_vs_core.o ip_vs_ctl.o ip_vs_sched.o \
H A 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()
H A Dip_vs_proto.c196 const char *ip_vs_state_name(const struct ip_vs_conn *cp) in ip_vs_state_name()
/linux/net/netfilter/
H A Dxt_ipvs.c57 struct ip_vs_conn *cp; in ipvs_mt()