Searched refs:inet_add_protocol (Results 1 – 9 of 9) sorted by relevance
/linux/net/ipv4/ |
H A D | protocol.c | 32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() function 37 EXPORT_SYMBOL(inet_add_protocol);
|
H A D | tunnel4.c | 241 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 D | udplite.c | 123 if (inet_add_protocol(&udplite_protocol, IPPROTO_UDPLITE) < 0) in udplite4_register()
|
H A D | gre_demux.c | 204 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) { in gre_init()
|
H A D | af_inet.c | 1927 if (inet_add_protocol(&icmp_protocol, IPPROTO_ICMP) < 0) in inet_init() 1935 if (inet_add_protocol(&net_hotdata.udp_protocol, IPPROTO_UDP) < 0) in inet_init() 1944 if (inet_add_protocol(&net_hotdata.tcp_protocol, IPPROTO_TCP) < 0) in inet_init() 1947 if (inet_add_protocol(&igmp_protocol, IPPROTO_IGMP) < 0) in inet_init()
|
H A D | ipmr.c | 3312 if (inet_add_protocol(&pim_protocol, IPPROTO_PIM) < 0) { in ip_mr_init()
|
/linux/include/net/ |
H A D | protocol.h | 103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
|
/linux/net/dccp/ |
H A D | ipv4.c |
|
/linux/net/sctp/ |
H A D | protocol.c | 1300 if (inet_add_protocol(&sctp_protocol, IPPROTO_SCTP) < 0) in sctp_v4_add_protocol()
|