Home
last modified time | relevance | path

Searched refs:inet_add_protocol (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A Dprotocol.c32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() function
43 EXPORT_SYMBOL(inet_add_protocol); variable
H A Dtunnel4.c244 if (inet_add_protocol(&tunnel4_protocol, IPPROTO_IPIP)) in tunnel4_init()
247 if (inet_add_protocol(&tunnel64_protocol, IPPROTO_IPV6)) { in tunnel4_init()
253 if (inet_add_protocol(&tunnelmpls4_protocol, IPPROTO_MPLS)) { in tunnel4_init()
H A Dudplite.c121 if (inet_add_protocol(&udplite_protocol, IPPROTO_UDPLITE) < 0) in udplite4_register()
H A Dgre_demux.c205 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) { in gre_init()
H A Dxfrm4_protocol.c257 if (inet_add_protocol(netproto(protocol), protocol)) { in xfrm4_protocol_register()
H A Daf_inet.c1992 if (inet_add_protocol(&icmp_protocol, IPPROTO_ICMP) < 0) in inet_init()
1994 if (inet_add_protocol(&udp_protocol, IPPROTO_UDP) < 0) in inet_init()
1996 if (inet_add_protocol(&tcp_protocol, IPPROTO_TCP) < 0) in inet_init()
1999 if (inet_add_protocol(&igmp_protocol, IPPROTO_IGMP) < 0) in inet_init()
H A Dipmr.c3125 if (inet_add_protocol(&pim_protocol, IPPROTO_PIM) < 0) { in ip_mr_init()
/kernel/linux/linux-6.6/net/ipv4/
H A Dprotocol.c32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() function
37 EXPORT_SYMBOL(inet_add_protocol); variable
H A Dtunnel4.c241 if (inet_add_protocol(&tunnel4_protocol, IPPROTO_IPIP)) in tunnel4_init()
244 if (inet_add_protocol(&tunnel64_protocol, IPPROTO_IPV6)) { in tunnel4_init()
250 if (inet_add_protocol(&tunnelmpls4_protocol, IPPROTO_MPLS)) { in tunnel4_init()
H A Dudplite.c123 if (inet_add_protocol(&udplite_protocol, IPPROTO_UDPLITE) < 0) in udplite4_register()
H A Dgre_demux.c204 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) { in gre_init()
H A Dxfrm4_protocol.c254 if (inet_add_protocol(netproto(protocol), protocol)) { in xfrm4_protocol_register()
H A Daf_inet.c1995 if (inet_add_protocol(&icmp_protocol, IPPROTO_ICMP) < 0) in inet_init()
1997 if (inet_add_protocol(&udp_protocol, IPPROTO_UDP) < 0) in inet_init()
1999 if (inet_add_protocol(&tcp_protocol, IPPROTO_TCP) < 0) in inet_init()
2002 if (inet_add_protocol(&igmp_protocol, IPPROTO_IGMP) < 0) in inet_init()
H A Dipmr.c3157 if (inet_add_protocol(&pim_protocol, IPPROTO_PIM) < 0) { in ip_mr_init()
/kernel/linux/linux-5.10/include/net/
H A Dprotocol.h101 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
/kernel/linux/linux-6.6/include/net/
H A Dprotocol.h100 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
/kernel/linux/linux-6.6/net/l2tp/
H A Dl2tp_ip.c650 err = inet_add_protocol(&l2tp_ip_protocol, IPPROTO_L2TP); in l2tp_ip_init()
/kernel/linux/linux-5.10/net/l2tp/
H A Dl2tp_ip.c651 err = inet_add_protocol(&l2tp_ip_protocol, IPPROTO_L2TP); in l2tp_ip_init()
/kernel/linux/linux-5.10/net/dccp/
H A Dipv4.c1046 err = inet_add_protocol(&dccp_v4_protocol, IPPROTO_DCCP); in dccp_v4_init()
/kernel/linux/linux-6.6/net/dccp/
H A Dipv4.c1066 err = inet_add_protocol(&dccp_v4_protocol, IPPROTO_DCCP); in dccp_v4_init()
/kernel/linux/linux-5.10/net/sctp/
H A Dprotocol.c1185 if (inet_add_protocol(&sctp_protocol, IPPROTO_SCTP) < 0) in sctp_v4_add_protocol()
/kernel/linux/linux-6.6/net/sctp/
H A Dprotocol.c1283 if (inet_add_protocol(&sctp_protocol, IPPROTO_SCTP) < 0) in sctp_v4_add_protocol()

Completed in 27 milliseconds