Searched refs:net_protocol (Results 1 – 10 of 10) sorted by relevance
27 struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS] __read_mostly;32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol()34 return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_add_protocol()46 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol()50 ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_del_protocol()
217 static const struct net_protocol tunnel4_protocol = {224 static const struct net_protocol tunnel64_protocol = {232 static const struct net_protocol tunnelmpls4_protocol = {
39 static const struct net_protocol udplite_protocol = {
195 static const struct net_protocol net_gre_protocol = {
1090 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler()
833 const struct net_protocol *ipprot; in icmp_socket_deliver()
3063 static const struct net_protocol pim_protocol = {
37 struct net_protocol { struct95 extern 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);
14 struct net_protocol tcp_protocol;16 struct net_protocol udp_protocol;
2065 u16 net_protocol = ntohs(skb->protocol); in ravb_can_tx_csum_gbeth() local2075 if (net_protocol == ETH_P_8021Q) { in ravb_can_tx_csum_gbeth()2082 net_protocol = ntohs(vh->h_vlan_encapsulated_proto); in ravb_can_tx_csum_gbeth()2085 switch (net_protocol) { in ravb_can_tx_csum_gbeth()