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

/linux-4.4.14/net/ipv4/
H A Dprotocol.c35 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) inet_add_protocol() function
46 EXPORT_SYMBOL(inet_add_protocol); variable
H A Dtunnel4.c166 if (inet_add_protocol(&tunnel4_protocol, IPPROTO_IPIP)) { tunnel4_init()
171 if (inet_add_protocol(&tunnel64_protocol, IPPROTO_IPV6)) { tunnel4_init()
H A Dgre_demux.c117 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) { gre_init()
H A Dudplite.c128 if (inet_add_protocol(&udplite_protocol, IPPROTO_UDPLITE) < 0) udplite4_register()
H A Dxfrm4_protocol.c248 if (inet_add_protocol(netproto(protocol), protocol)) { xfrm4_protocol_register()
H A Daf_inet.c1720 if (inet_add_protocol(&icmp_protocol, IPPROTO_ICMP) < 0) inet_init()
1722 if (inet_add_protocol(&udp_protocol, IPPROTO_UDP) < 0) inet_init()
1724 if (inet_add_protocol(&tcp_protocol, IPPROTO_TCP) < 0) inet_init()
1727 if (inet_add_protocol(&igmp_protocol, IPPROTO_IGMP) < 0) inet_init()
H A Dipmr.c2766 if (inet_add_protocol(&pim_protocol, IPPROTO_PIM) < 0) { ip_mr_init()
/linux-4.4.14/include/net/
H A Dprotocol.h103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
/linux-4.4.14/net/l2tp/
H A Dl2tp_ip.c628 err = inet_add_protocol(&l2tp_ip_protocol, IPPROTO_L2TP); l2tp_ip_init()
/linux-4.4.14/net/dccp/
H A Dipv4.c1030 err = inet_add_protocol(&dccp_v4_protocol, IPPROTO_DCCP); dccp_v4_init()
/linux-4.4.14/net/sctp/
H A Dprotocol.c1179 if (inet_add_protocol(&sctp_protocol, IPPROTO_SCTP) < 0) sctp_v4_add_protocol()

Completed in 221 milliseconds