Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/
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()
40 return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_add_protocol()
52 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol()
56 ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], in inet_del_protocol()
Dxfrm4_protocol.c171 static const struct net_protocol esp4_protocol = {
178 static const struct net_protocol ah4_protocol = {
185 static const struct net_protocol ipcomp4_protocol = {
197 static inline const struct net_protocol *netproto(unsigned char protocol) in netproto()
Dtunnel4.c190 static const struct net_protocol tunnel4_protocol = {
198 static const struct net_protocol tunnel64_protocol = {
207 static const struct net_protocol tunnelmpls4_protocol = {
Dudplite.c30 static const struct net_protocol udplite_protocol = {
Dip_input.c189 const struct net_protocol *ipprot; in ip_protocol_deliver_rcu()
319 const struct net_protocol *ipprot; in ip_rcv_finish_core()
Dgre_demux.c187 static const struct net_protocol net_gre_protocol = {
Daf_inet.c1696 static const struct net_protocol igmp_protocol = {
1705 static struct net_protocol tcp_protocol = {
1718 static struct net_protocol udp_protocol = {
1727 static const struct net_protocol icmp_protocol = {
Dicmp.c753 const struct net_protocol *ipprot; in icmp_socket_deliver()
Dfou.c1117 const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]); in gue_err_proto_handler()
Dsysctl_net_ipv4.c376 struct net_protocol *ipprot; in proc_configure_early_demux()
Dipmr.c3031 static const struct net_protocol pim_protocol = {
/Linux-v5.4/include/net/
Dprotocol.h37 struct net_protocol { struct
97 extern struct net_protocol __rcu *inet_protos[MAX_INET_PROTOS];
105 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
106 int inet_del_protocol(const struct net_protocol *prot, unsigned char num);
/Linux-v5.4/net/l2tp/
Dl2tp_ip.c639 static struct net_protocol l2tp_ip_protocol __read_mostly = {
/Linux-v5.4/net/dccp/
Dipv4.c970 static const struct net_protocol dccp_v4_protocol = {
/Linux-v5.4/net/sctp/
Dprotocol.c1046 static const struct net_protocol sctp_protocol = {