Searched refs:net_protocol (Results 1 – 13 of 13) 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()
180 static const struct net_protocol esp4_protocol = {186 static const struct net_protocol ah4_protocol = {192 static const struct net_protocol ipcomp4_protocol = {203 static inline const struct net_protocol *netproto(unsigned char protocol) in netproto()
217 static const struct net_protocol tunnel4_protocol = {224 static const struct net_protocol tunnel64_protocol = {232 static const struct net_protocol tunnelmpls4_protocol = {
195 static const struct net_protocol net_gre_protocol = {
1696 static const struct net_protocol igmp_protocol = {1701 static const struct net_protocol icmp_protocol = {1930 net_hotdata.udp_protocol = (struct net_protocol) { in inet_init() 1938 net_hotdata.tcp_protocol = (struct net_protocol) { in inet_init()
189 const struct net_protocol *ipprot; in ip_protocol_deliver_rcu()
1090 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler()
3180 static const struct net_protocol pim_protocol = {
37 struct net_protocol { struct 95 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);38 handlernet_protocol global() argument 41 err_handlernet_protocol global() argument 43 no_policynet_protocol global() argument 48 icmp_strict_tag_validationnet_protocol global() argument 49 secretnet_protocol global() argument
14 struct net_protocol tcp_protocol;16 struct net_protocol udp_protocol;
654 static struct net_protocol l2tp_ip_protocol __read_mostly = {
2065 u16 net_protocol = ntohs(skb->protocol); in ravb_can_tx_csum_gbeth() local 2075 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()
1179 static const struct net_protocol sctp_protocol = {