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

/linux-master/net/ipv4/
H A Dprotocol.c32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) function
37 EXPORT_SYMBOL(inet_add_protocol); variable
H A Dtunnel4.c241 if (inet_add_protocol(&tunnel4_protocol, IPPROTO_IPIP))
244 if (inet_add_protocol(&tunnel64_protocol, IPPROTO_IPV6)) {
250 if (inet_add_protocol(&tunnelmpls4_protocol, IPPROTO_MPLS)) {
H A Dudplite.c123 if (inet_add_protocol(&udplite_protocol, IPPROTO_UDPLITE) < 0)
H A Dxfrm4_protocol.c254 if (inet_add_protocol(netproto(protocol), protocol)) {
H A Dgre_demux.c204 if (inet_add_protocol(&net_gre_protocol, IPPROTO_GRE) < 0) {
H A Daf_inet.c1940 if (inet_add_protocol(&icmp_protocol, IPPROTO_ICMP) < 0)
1948 if (inet_add_protocol(&net_hotdata.udp_protocol, IPPROTO_UDP) < 0)
1957 if (inet_add_protocol(&net_hotdata.tcp_protocol, IPPROTO_TCP) < 0)
1960 if (inet_add_protocol(&igmp_protocol, IPPROTO_IGMP) < 0)
H A Dipmr.c3156 if (inet_add_protocol(&pim_protocol, IPPROTO_PIM) < 0) {
/linux-master/include/net/
H A Dprotocol.h103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num);
/linux-master/net/l2tp/
H A Dl2tp_ip.c650 err = inet_add_protocol(&l2tp_ip_protocol, IPPROTO_L2TP);
/linux-master/net/dccp/
H A Dipv4.c1068 err = inet_add_protocol(&dccp_v4_protocol, IPPROTO_DCCP);
/linux-master/net/sctp/
H A Dprotocol.c1283 if (inet_add_protocol(&sctp_protocol, IPPROTO_SCTP) < 0)

Completed in 230 milliseconds