Lines Matching defs:protocol
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
7 * INET protocol dispatch tables.
25 #include <net/protocol.h>
32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol)
34 return !cmpxchg((const struct net_protocol **)&inet_protos[protocol],
39 int inet_add_offload(const struct net_offload *prot, unsigned char protocol)
41 return !cmpxchg((const struct net_offload **)&inet_offloads[protocol],
46 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol)
50 ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol],
59 int inet_del_offload(const struct net_offload *prot, unsigned char protocol)
63 ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol],