Searched refs:IP_VS_PROTO_TAB_SIZE (Results 1 - 2 of 2) sorted by relevance

/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto.c35 #define IP_VS_PROTO_TAB_SIZE 32 /* must be power of 2 */ macro
36 #define IP_VS_PROTO_HASH(proto) ((proto) & (IP_VS_PROTO_TAB_SIZE-1))
38 static struct ip_vs_protocol *ip_vs_proto_table[IP_VS_PROTO_TAB_SIZE];
180 for (i = 0; i < IP_VS_PROTO_TAB_SIZE; i++) {
335 for (i = 0; i < IP_VS_PROTO_TAB_SIZE; i++) {
380 for (i = 0; i < IP_VS_PROTO_TAB_SIZE; i++) {
/linux-master/include/net/
H A Dip_vs.h908 #define IP_VS_PROTO_TAB_SIZE 32 /* must be power of 2 */ macro
909 struct ip_vs_proto_data *proto_data_table[IP_VS_PROTO_TAB_SIZE];

Completed in 102 milliseconds