Home
last modified time | relevance | path

Searched refs:net_protocol (Results 1 – 10 of 10) sorted by relevance

/linux/net/ipv4/
H A Dprotocol.c27 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()
H A Dtunnel4.c217 static const struct net_protocol tunnel4_protocol = {
224 static const struct net_protocol tunnel64_protocol = {
232 static const struct net_protocol tunnelmpls4_protocol = {
H A Dudplite.c39 static const struct net_protocol udplite_protocol = {
H A Dgre_demux.c195 static const struct net_protocol net_gre_protocol = {
H A Dfou_core.c1090 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler()
H A Dicmp.c833 const struct net_protocol *ipprot; in icmp_socket_deliver()
H A Dipmr.c3063 static const struct net_protocol pim_protocol = {
/linux/include/net/
H A Dprotocol.h37 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);
H A Dhotdata.h14 struct net_protocol tcp_protocol;
16 struct net_protocol udp_protocol;
/linux/drivers/net/ethernet/renesas/
H A Dravb_main.c2065 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()