Lines Matching full: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) in inet_add_protocol() argument
35 pr_err("Protocol %u is not namespace aware, cannot register.\n", in inet_add_protocol()
36 protocol); in inet_add_protocol()
40 return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_add_protocol()
45 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload() argument
47 return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_add_offload()
52 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol() argument
56 ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_del_protocol()
65 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload() argument
69 ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_del_offload()