Searched refs:net_protocol (Results 1 – 13 of 13) sorted by relevance
31 const 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 = {197 static inline const struct net_protocol *netproto(unsigned char protocol) in netproto()
148 static const struct net_protocol tunnel4_protocol = {156 static const struct net_protocol tunnel64_protocol = {
199 const struct net_protocol *ipprot; in ip_local_deliver_finish()320 const struct net_protocol *ipprot; in ip_rcv_finish()
107 static const struct net_protocol net_gre_protocol = {
32 static const struct net_protocol udplite_protocol = {
1500 static const struct net_protocol igmp_protocol = {1506 static const struct net_protocol tcp_protocol = {1515 static const struct net_protocol udp_protocol = {1523 static const struct net_protocol icmp_protocol = {
740 const struct net_protocol *ipprot; in icmp_socket_deliver()
2696 static const struct net_protocol pim_protocol = {
41 struct net_protocol { struct95 extern const struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS];103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);104 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
613 static struct net_protocol l2tp_ip_protocol __read_mostly = {
961 static const struct net_protocol dccp_v4_protocol = {
1055 static const struct net_protocol sctp_protocol = {