Lines Matching defs:protocol
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
7 * PF_INET6 protocol dispatch tables.
22 #include <net/protocol.h>
28 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol)
30 return !cmpxchg((const struct inet6_protocol **)&inet6_protos[protocol],
35 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol)
39 ret = (cmpxchg((const struct inet6_protocol **)&inet6_protos[protocol],
52 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol)
54 return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol],
59 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol)
63 ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol],