Searched refs:MAX_INET_PROTOS (Results 1 - 11 of 11) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Draw.h31 #define RAWV4_HTABLE_SIZE MAX_INET_PROTOS
H A Drawv6.h6 #define RAWV6_HTABLE_SIZE MAX_INET_PROTOS
H A Dprotocol.h32 #define MAX_INET_PROTOS 256 /* Must be a power of 2 */ macro
96 extern struct net_protocol *inet_protos[MAX_INET_PROTOS];
99 extern struct inet6_protocol *inet6_protos[MAX_INET_PROTOS];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dprotocol.c48 struct net_protocol *inet_protos[MAX_INET_PROTOS] ____cacheline_aligned_in_smp;
59 hash = protocol & (MAX_INET_PROTOS - 1);
81 hash = protocol & (MAX_INET_PROTOS - 1);
H A Daf_inet.c1147 proto = iph->protocol & (MAX_INET_PROTOS - 1);
1192 proto = iph->protocol & (MAX_INET_PROTOS - 1);
1233 proto = iph->protocol & (MAX_INET_PROTOS - 1);
1296 int proto = iph->protocol & (MAX_INET_PROTOS - 1);
H A Dip_input.c211 /* Note: See raw.c and net/raw.h, RAWV4_HTABLE_SIZE==MAX_INET_PROTOS */
218 hash = protocol & (MAX_INET_PROTOS - 1);
H A Dicmp.c706 /* Note: See raw.c and net/raw.h, RAWV4_HTABLE_SIZE==MAX_INET_PROTOS */
707 hash = protocol & (MAX_INET_PROTOS - 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dprotocol.c41 struct inet6_protocol *inet6_protos[MAX_INET_PROTOS];
47 int ret, hash = protocol & (MAX_INET_PROTOS - 1);
71 int ret, hash = protocol & (MAX_INET_PROTOS - 1);
H A Dip6_input.c168 raw_sk = sk_head(&raw_v6_htable[nexthdr & (MAX_INET_PROTOS - 1)]);
172 hash = nexthdr & (MAX_INET_PROTOS - 1);
H A Dicmp.c600 hash = nexthdr & (MAX_INET_PROTOS - 1);
H A Draw.c162 hash = nexthdr & (MAX_INET_PROTOS - 1);

Completed in 290 milliseconds