Home
last modified time | relevance | path

Searched refs:inet_add_protocol (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/net/ipv4/
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);
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()
Dudplite.c121 if (inet_add_protocol(&udplite_protocol, IPPROTO_UDPLITE) < 0) in udplite4_register()
Dgre_demux.c204 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) { in gre_init()
Dxfrm4_protocol.c254 if (inet_add_protocol(netproto(protocol), protocol)) { in xfrm4_protocol_register()
Daf_inet.c1970 if (inet_add_protocol(&icmp_protocol, IPPROTO_ICMP) < 0) in inet_init()
1972 if (inet_add_protocol(&udp_protocol, IPPROTO_UDP) < 0) in inet_init()
1974 if (inet_add_protocol(&tcp_protocol, IPPROTO_TCP) < 0) in inet_init()
1977 if (inet_add_protocol(&igmp_protocol, IPPROTO_IGMP) < 0) in inet_init()
Dipmr.c3142 if (inet_add_protocol(&pim_protocol, IPPROTO_PIM) < 0) { in ip_mr_init()
/linux-6.1.9/include/net/
Dprotocol.h100 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
/linux-6.1.9/net/l2tp/
Dl2tp_ip.c652 err = inet_add_protocol(&l2tp_ip_protocol, IPPROTO_L2TP); in l2tp_ip_init()
/linux-6.1.9/net/dccp/
Dipv4.c1066 err = inet_add_protocol(&dccp_v4_protocol, IPPROTO_DCCP); in dccp_v4_init()
/linux-6.1.9/net/sctp/
Dprotocol.c1278 if (inet_add_protocol(&sctp_protocol, IPPROTO_SCTP) < 0) in sctp_v4_add_protocol()