Searched refs:net_protocol (Results 1 – 14 of 14) sorted by relevance
31 struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS] __read_mostly;35 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol()43 return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_add_protocol()55 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol()59 ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_del_protocol()
170 static const struct net_protocol esp4_protocol = {177 static const struct net_protocol ah4_protocol = {184 static const struct net_protocol ipcomp4_protocol = {196 static inline const struct net_protocol *netproto(unsigned char protocol) in netproto()
183 static const struct net_protocol tunnel4_protocol = {191 static const struct net_protocol tunnel64_protocol = {200 static const struct net_protocol tunnelmpls4_protocol = {
33 static const struct net_protocol udplite_protocol = {
198 const struct net_protocol *ipprot; in ip_local_deliver_finish()323 const struct net_protocol *ipprot; in ip_rcv_finish_core()
169 static const struct net_protocol net_gre_protocol = {
1672 static const struct net_protocol igmp_protocol = {1681 static struct net_protocol tcp_protocol = {1694 static struct net_protocol udp_protocol = {1703 static const struct net_protocol icmp_protocol = {
751 const struct net_protocol *ipprot; in icmp_socket_deliver()
334 struct net_protocol *ipprot; in proc_configure_early_demux()
2906 static const struct net_protocol pim_protocol = {
41 struct net_protocol { struct96 extern struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS];104 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);105 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
639 static struct net_protocol l2tp_ip_protocol __read_mostly = {
971 static const struct net_protocol dccp_v4_protocol = {
1060 static const struct net_protocol sctp_protocol = {