Searched refs:proto_handlers (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/net/ipv4/
H A Dxfrm4_protocol.c30 static inline struct xfrm4_protocol __rcu **proto_handlers(u8 protocol) proto_handlers() function
53 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); xfrm4_rcv_cb()
71 struct xfrm4_protocol __rcu **head = proto_handlers(nexthdr); xfrm4_rcv_encap()
220 if (!proto_handlers(protocol) || !netproto(protocol)) xfrm4_protocol_register()
225 if (!rcu_dereference_protected(*proto_handlers(protocol), xfrm4_protocol_register()
229 for (pprev = proto_handlers(protocol); xfrm4_protocol_register()
265 if (!proto_handlers(protocol) || !netproto(protocol)) xfrm4_protocol_deregister()
270 for (pprev = proto_handlers(protocol); xfrm4_protocol_deregister()
281 if (!rcu_dereference_protected(*proto_handlers(protocol), xfrm4_protocol_deregister()
/linux-4.4.14/net/ipv6/
H A Dxfrm6_protocol.c30 static inline struct xfrm6_protocol __rcu **proto_handlers(u8 protocol) proto_handlers() function
53 struct xfrm6_protocol __rcu **head = proto_handlers(protocol); xfrm6_rcv_cb()
58 for_each_protocol_rcu(*proto_handlers(protocol), handler) xfrm6_rcv_cb()
194 if (!proto_handlers(protocol) || !netproto(protocol)) xfrm6_protocol_register()
199 if (!rcu_dereference_protected(*proto_handlers(protocol), xfrm6_protocol_register()
203 for (pprev = proto_handlers(protocol); xfrm6_protocol_register()
239 if (!proto_handlers(protocol) || !netproto(protocol)) xfrm6_protocol_deregister()
244 for (pprev = proto_handlers(protocol); xfrm6_protocol_deregister()
255 if (!rcu_dereference_protected(*proto_handlers(protocol), xfrm6_protocol_deregister()

Completed in 238 milliseconds