Searched refs:net_protocol (Results 1 – 15 of 15) 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 = {
38 static const struct net_protocol udplite_protocol = {
195 static const struct net_protocol net_gre_protocol = {
1706 static const struct net_protocol igmp_protocol = {1711 static const struct net_protocol icmp_protocol = {1939 net_hotdata.udp_protocol = (struct net_protocol) { in inet_init()1947 net_hotdata.tcp_protocol = (struct net_protocol) { in inet_init()
191 const struct net_protocol *ipprot; in ip_protocol_deliver_rcu()
1056 const struct net_protocol *ipprot; in icmp_socket_deliver()1082 const struct net_protocol *ipprot; in icmp_tag_validation()
1089 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler()
3181 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);
20 struct net_protocol tcp_protocol;22 struct net_protocol udp_protocol;
656 static struct net_protocol l2tp_ip_protocol __read_mostly = {
2075 u16 net_protocol = ntohs(skb->protocol); in ravb_can_tx_csum_gbeth() local2085 if (net_protocol == ETH_P_8021Q) { in ravb_can_tx_csum_gbeth()2092 net_protocol = ntohs(vh->h_vlan_encapsulated_proto); in ravb_can_tx_csum_gbeth()2095 switch (net_protocol) { in ravb_can_tx_csum_gbeth()
1147 static const struct net_protocol sctp_protocol = {