• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/

Lines Matching refs:protocol

2  * INET		An implementation of the TCP/IP protocol suite for the LINUX
6 * PF_INET protocol family socket handler.
16 * Karl Knutson : Socket protocol table
100 #include <net/protocol.h>
247 static inline int inet_netns_ok(struct net *net, int protocol)
255 hash = protocol & (MAX_INET_PROTOS - 1);
268 static int inet_create(struct net *net, struct socket *sock, int protocol,
286 /* Look for the requested type/protocol pair. */
294 if (protocol == answer->protocol) {
295 if (protocol != IPPROTO_IP)
299 if (IPPROTO_IP == protocol) {
300 protocol = answer->protocol;
303 if (IPPROTO_IP == answer->protocol)
318 PF_INET, protocol, sock->type);
325 PF_INET, protocol);
336 if (!inet_netns_ok(net, protocol))
363 inet->inet_num = protocol;
364 if (IPPROTO_RAW == protocol)
378 sk->sk_protocol = protocol;
391 /* It assumes that any protocol which allows
397 /* Add to protocol hash chains. */
989 .protocol = IPPROTO_TCP,
999 .protocol = IPPROTO_UDP,
1009 .protocol = IPPROTO_IP, /* wild card */
1023 int protocol = p->protocol;
1031 /* If we are trying to override a permanent protocol, bail. */
1039 if (protocol == answer->protocol)
1051 * a wild-card protocol. But it is allowed to override any existing
1062 printk(KERN_ERR "Attempt to override permanent protocol %d.\n",
1063 protocol);
1078 "Attempt to unregister permanent protocol %d.\n",
1079 p->protocol);
1216 proto = iph->protocol & (MAX_INET_PROTOS - 1);
1265 proto = iph->protocol & (MAX_INET_PROTOS - 1);
1319 proto = iph->protocol & (MAX_INET_PROTOS - 1);
1344 if ((iph->protocol ^ iph2->protocol) |
1379 int proto = iph->protocol & (MAX_INET_PROTOS - 1);
1400 unsigned short type, unsigned char protocol,
1404 int rc = sock_create_kern(family, type, protocol, &sock);
1604 * IP protocol layer initialiser
1656 printk(KERN_CRIT "inet_init: Cannot add ICMP protocol\n");
1658 printk(KERN_CRIT "inet_init: Cannot add UDP protocol\n");
1660 printk(KERN_CRIT "inet_init: Cannot add TCP protocol\n");
1663 printk(KERN_CRIT "inet_init: Cannot add IGMP protocol\n");