Linux Kernel
3.7.1
|
#include <linux/ip_vs.h>
#include <asm/types.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/atomic.h>
#include <linux/compiler.h>
#include <linux/timer.h>
#include <linux/bug.h>
#include <net/checksum.h>
#include <linux/netfilter.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <net/ipv6.h>
#include <net/net_namespace.h>
Go to the source code of this file.
Data Structures | |
struct | ip_vs_iphdr |
struct | ip_vs_seq |
struct | ip_vs_counters |
struct | ip_vs_cpu_stats |
struct | ip_vs_estimator |
struct | ip_vs_stats |
struct | ip_vs_protocol |
struct | ip_vs_proto_data |
struct | ip_vs_conn_param |
struct | ip_vs_conn |
struct | ip_vs_service_user_kern |
struct | ip_vs_dest_user_kern |
struct | ip_vs_service |
struct | ip_vs_dest |
struct | ip_vs_scheduler |
struct | ip_vs_pe |
struct | ip_vs_app |
struct | ipvs_master_sync_state |
struct | netns_ipvs |
#define FTPDATA cpu_to_be16(20) |
#define FTPPORT cpu_to_be16(21) |
#define IP_VS_ERR_RL | ( | msg, | |
... | |||
) |
#define IP_VS_FWD_METHOD | ( | cp | ) | (cp->flags & IP_VS_CONN_F_FWD_MASK) |
#define IP_VS_INIT_HASH_TABLE | ( | t | ) | ip_vs_init_hash_table((t), ARRAY_SIZE((t))) |
#define ip_vs_pe_get | ( | pe | ) |
#define ip_vs_pe_put | ( | pe | ) |
#define IP_VS_RTAB_MASK (IP_VS_RTAB_SIZE - 1) |
#define IP_VS_RTAB_SIZE (1 << IP_VS_RTAB_BITS) |
#define IPVS_SYNC_QLEN_MAX (IPVS_SYNC_WAKEUP_RATE * 4) |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
enum ip_vs_sctp_states |
Definition at line 32 of file ip_vs_pe.c.
Definition at line 143 of file ip_vs_app.c.
Definition at line 157 of file ip_vs_app.c.
Definition at line 612 of file ip_vs_app.c.
Definition at line 603 of file ip_vs_app.c.
int ip_vs_app_pkt_in | ( | struct ip_vs_conn * | , |
struct sk_buff * | skb | ||
) |
Definition at line 479 of file ip_vs_app.c.
int ip_vs_app_pkt_out | ( | struct ip_vs_conn * | , |
struct sk_buff * | skb | ||
) |
Definition at line 404 of file ip_vs_app.c.
int ip_vs_bind_app | ( | struct ip_vs_conn * | cp, |
struct ip_vs_protocol * | pp | ||
) |
Definition at line 253 of file ip_vs_app.c.
void ip_vs_bind_pe | ( | struct ip_vs_service * | svc, |
struct ip_vs_pe * | pe | ||
) |
Definition at line 20 of file ip_vs_pe.c.
int ip_vs_bind_scheduler | ( | struct ip_vs_service * | svc, |
struct ip_vs_scheduler * | scheduler | ||
) |
Definition at line 45 of file ip_vs_sched.c.
int ip_vs_bypass_xmit | ( | struct sk_buff * | skb, |
struct ip_vs_conn * | cp, | ||
struct ip_vs_protocol * | pp | ||
) |
Definition at line 443 of file ip_vs_xmit.c.
int ip_vs_check_template | ( | struct ip_vs_conn * | ct | ) |
Definition at line 728 of file ip_vs_conn.c.
Definition at line 633 of file ip_vs_core.c.
Definition at line 1355 of file ip_vs_conn.c.
void ip_vs_conn_expire_now | ( | struct ip_vs_conn * | cp | ) |
Definition at line 848 of file ip_vs_conn.c.
void ip_vs_conn_fill_cport | ( | struct ip_vs_conn * | cp, |
__be16 | cport | ||
) |
Definition at line 463 of file ip_vs_conn.c.
|
read |
Definition at line 288 of file ip_vs_conn.c.
|
read |
Definition at line 331 of file ip_vs_conn.c.
Definition at line 1311 of file ip_vs_conn.c.
Definition at line 1303 of file ip_vs_conn.c.
Definition at line 1292 of file ip_vs_conn.c.
|
read |
Definition at line 859 of file ip_vs_conn.c.
|
read |
Definition at line 395 of file ip_vs_conn.c.
|
read |
Definition at line 434 of file ip_vs_conn.c.
void ip_vs_conn_put | ( | struct ip_vs_conn * | cp | ) |
Definition at line 450 of file ip_vs_conn.c.
Definition at line 3880 of file ip_vs_ctl.c.
Definition at line 3856 of file ip_vs_ctl.c.
Definition at line 3814 of file ip_vs_ctl.c.
Definition at line 3777 of file ip_vs_ctl.c.
Definition at line 200 of file ip_vs_proto.c.
|
read |
Definition at line 345 of file ip_vs_conn.c.
int ip_vs_dr_xmit | ( | struct sk_buff * | skb, |
struct ip_vs_conn * | cp, | ||
struct ip_vs_protocol * | pp | ||
) |
Definition at line 1055 of file ip_vs_xmit.c.
void ip_vs_dst_reset | ( | struct ip_vs_dest * | dest | ) |
Definition at line 374 of file ip_vs_xmit.c.
Definition at line 206 of file ip_vs_est.c.
Definition at line 195 of file ip_vs_est.c.
|
read |
Definition at line 617 of file ip_vs_ctl.c.
int ip_vs_icmp_xmit | ( | struct sk_buff * | skb, |
struct ip_vs_conn * | cp, | ||
struct ip_vs_protocol * | pp, | ||
int | offset, | ||
unsigned int | hooknum | ||
) |
Definition at line 1185 of file ip_vs_xmit.c.
Definition at line 108 of file ip_vs_core.c.
int ip_vs_leave | ( | struct ip_vs_service * | svc, |
struct sk_buff * | skb, | ||
struct ip_vs_proto_data * | pd | ||
) |
Definition at line 498 of file ip_vs_core.c.
|
read |
Definition at line 552 of file ip_vs_ctl.c.
void ip_vs_nat_icmp | ( | struct sk_buff * | skb, |
struct ip_vs_protocol * | pp, | ||
struct ip_vs_conn * | cp, | ||
int | dir | ||
) |
Definition at line 685 of file ip_vs_core.c.
int ip_vs_nat_xmit | ( | struct sk_buff * | skb, |
struct ip_vs_conn * | cp, | ||
struct ip_vs_protocol * | pp | ||
) |
Definition at line 561 of file ip_vs_xmit.c.
int ip_vs_null_xmit | ( | struct sk_buff * | skb, |
struct ip_vs_conn * | cp, | ||
struct ip_vs_protocol * | pp | ||
) |
Definition at line 429 of file ip_vs_xmit.c.
Definition at line 62 of file ip_vs_pe.c.
|
read |
Definition at line 174 of file ip_vs_proto.c.
|
read |
Definition at line 142 of file ip_vs_proto.c.
Definition at line 83 of file ip_vs_core.c.
Definition at line 399 of file ip_vs_proto.c.
Definition at line 366 of file ip_vs_proto.c.
Definition at line 353 of file ip_vs_proto.c.
Definition at line 320 of file ip_vs_proto.c.
void ip_vs_protocol_timeout_change | ( | struct netns_ipvs * | ipvs, |
int | flags | ||
) |
Definition at line 185 of file ip_vs_proto.c.
Definition at line 1197 of file ip_vs_conn.c.
void ip_vs_read_estimator | ( | struct ip_vs_stats_user * | dst, |
struct ip_vs_stats * | stats | ||
) |
Definition at line 183 of file ip_vs_est.c.
Definition at line 3827 of file ip_vs_ctl.c.
|
read |
Definition at line 394 of file ip_vs_core.c.
void ip_vs_scheduler_err | ( | struct ip_vs_service * | svc, |
const char * | msg | ||
) |
Definition at line 154 of file ip_vs_sched.c.
|
read |
Definition at line 124 of file ip_vs_sched.c.
void ip_vs_scheduler_put | ( | struct ip_vs_scheduler * | scheduler | ) |
Definition at line 144 of file ip_vs_sched.c.
|
read |
Definition at line 409 of file ip_vs_ctl.c.
Definition at line 1488 of file ip_vs_ctl.c.
int ip_vs_set_state_timeout | ( | int * | table, |
int | num, | ||
const char *const * | names, | ||
const char * | name, | ||
int | to | ||
) |
Definition at line 210 of file ip_vs_proto.c.
void ip_vs_start_estimator | ( | struct net * | net, |
struct ip_vs_stats * | stats | ||
) |
Definition at line 142 of file ip_vs_est.c.
Definition at line 228 of file ip_vs_proto.c.
void ip_vs_stop_estimator | ( | struct net * | net, |
struct ip_vs_stats * | stats | ||
) |
Definition at line 154 of file ip_vs_est.c.
void ip_vs_sync_conn | ( | struct net * | net, |
struct ip_vs_conn * | cp, | ||
int | pkts | ||
) |
Definition at line 611 of file ip_vs_sync.c.
Definition at line 1931 of file ip_vs_sync.c.
Definition at line 1921 of file ip_vs_sync.c.
void ip_vs_tcp_conn_listen | ( | struct net * | net, |
struct ip_vs_conn * | cp | ||
) |
Definition at line 665 of file ip_vs_proto_tcp.c.
void ip_vs_tcpudp_debug_packet | ( | int | af, |
struct ip_vs_protocol * | pp, | ||
const struct sk_buff * | skb, | ||
int | offset, | ||
const char * | msg | ||
) |
Definition at line 304 of file ip_vs_proto.c.
|
read |
Definition at line 615 of file ip_vs_conn.c.
int ip_vs_tunnel_xmit | ( | struct sk_buff * | skb, |
struct ip_vs_conn * | cp, | ||
struct ip_vs_protocol * | pp | ||
) |
Definition at line 814 of file ip_vs_xmit.c.
void ip_vs_unbind_app | ( | struct ip_vs_conn * | cp | ) |
Definition at line 263 of file ip_vs_app.c.
void ip_vs_unbind_pe | ( | struct ip_vs_service * | svc | ) |
Definition at line 26 of file ip_vs_pe.c.
int ip_vs_unbind_scheduler | ( | struct ip_vs_service * | svc | ) |
Definition at line 67 of file ip_vs_sched.c.
Definition at line 3850 of file ip_vs_ctl.c.
Definition at line 246 of file ip_vs_ctl.c.
Definition at line 240 of file ip_vs_ctl.c.
void ip_vs_zero_estimator | ( | struct ip_vs_stats * | stats | ) |
Definition at line 164 of file ip_vs_est.c.
Definition at line 184 of file ip_vs_app.c.
Definition at line 168 of file ip_vs_app.c.
Definition at line 79 of file ip_vs_pe.c.
int register_ip_vs_scheduler | ( | struct ip_vs_scheduler * | scheduler | ) |
Definition at line 178 of file ip_vs_sched.c.
Definition at line 1712 of file ip_vs_sync.c.
Definition at line 222 of file ip_vs_app.c.
Definition at line 119 of file ip_vs_pe.c.
int unregister_ip_vs_scheduler | ( | struct ip_vs_scheduler * | scheduler | ) |
Definition at line 233 of file ip_vs_sched.c.
int ip_vs_conn_tab_size |
struct ip_vs_protocol ip_vs_protocol_ah |
struct ip_vs_protocol ip_vs_protocol_esp |
struct ip_vs_protocol ip_vs_protocol_icmp |
struct ip_vs_protocol ip_vs_protocol_sctp |
Definition at line 1111 of file ip_vs_proto_sctp.c.
struct ip_vs_protocol ip_vs_protocol_tcp |
Definition at line 700 of file ip_vs_proto_tcp.c.
struct ip_vs_protocol ip_vs_protocol_udp |
Definition at line 489 of file ip_vs_proto_udp.c.
int sysctl_ip_vs_sync_ver |