Lines Matching defs:prot
32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol)
34 if (!prot->netns_ok) {
41 NULL, prot) ? 0 : -1;
45 int inet_add_offload(const struct net_offload *prot, unsigned char protocol)
48 NULL, prot) ? 0 : -1;
52 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol)
57 prot, NULL) == prot) ? 0 : -1;
65 int inet_del_offload(const struct net_offload *prot, unsigned char protocol)
70 prot, NULL) == prot) ? 0 : -1;