Home
last modified time | relevance | path

Searched refs:net_protocol (Results 1 – 13 of 13) 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 Dxfrm4_protocol.c180 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()
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 Dgre_demux.c195 static const struct net_protocol net_gre_protocol = {
H A Daf_inet.c1696 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()
H A Dip_input.c189 const struct net_protocol *ipprot; in ip_protocol_deliver_rcu()
H A Dfou_core.c1090 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler()
H A Dipmr.c3180 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);
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
H A Dhotdata.h14 struct net_protocol tcp_protocol;
16 struct net_protocol udp_protocol;
/linux/net/l2tp/
H A Dl2tp_ip.c654 static struct net_protocol l2tp_ip_protocol __read_mostly = {
/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()
/linux/net/sctp/
H A Dprotocol.c1179 static const struct net_protocol sctp_protocol = {