Home
last modified time | relevance | path

Searched refs:netproto (Results 1 – 2 of 2) sorted by relevance

/linux/net/ipv4/
A Dxfrm4_protocol.c203 static inline const struct net_protocol *netproto(unsigned char protocol) in netproto() function
226 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_register()
254 if (inet_add_protocol(netproto(protocol), protocol)) { in xfrm4_protocol_register()
271 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_deregister()
289 if (inet_del_protocol(netproto(protocol), protocol) < 0) { in xfrm4_protocol_deregister()
/linux/net/ipv6/
A Dxfrm6_protocol.c219 static inline const struct inet6_protocol *netproto(unsigned char protocol) in netproto() function
242 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_register()
270 if (inet6_add_protocol(netproto(protocol), protocol)) { in xfrm6_protocol_register()
287 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_deregister()
305 if (inet6_del_protocol(netproto(protocol), protocol) < 0) { in xfrm6_protocol_deregister()

Completed in 4 milliseconds