Lines Matching refs:protocol
2 * PF_INET6 socket protocol family
11 * piggy, Karl Knutson : Socket protocol table
52 #include <net/protocol.h>
67 MODULE_DESCRIPTION("IPv6 protocol stack for Linux");
99 static int inet6_create(struct net *net, struct socket *sock, int protocol,
117 /* Look for the requested type/protocol pair. */
125 if (protocol == answer->protocol) {
126 if (protocol != IPPROTO_IP)
130 if (IPPROTO_IP == protocol) {
131 protocol = answer->protocol;
134 if (IPPROTO_IP == answer->protocol)
149 PF_INET6, protocol, sock->type);
156 PF_INET6, protocol);
190 inet->inet_num = protocol;
191 if (IPPROTO_RAW == protocol)
197 sk->sk_protocol = protocol;
229 * transport protocol socks. -acme
234 /* It assumes that any protocol which allows
572 int protocol = p->protocol;
581 /* If we are trying to override a permanent protocol, bail. */
590 if (protocol == answer->protocol)
602 * a wild-card protocol. But it is allowed to override any existing
613 printk(KERN_ERR "Attempt to override permanent protocol %d.\n",
614 protocol);
631 "Attempt to unregister permanent protocol %d.\n",
632 p->protocol);