Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv6/
A Dxfrm6_protocol.c27 static inline struct xfrm6_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() function
50 struct xfrm6_protocol __rcu **head = proto_handlers(protocol); in xfrm6_rcv_cb()
55 for_each_protocol_rcu(*proto_handlers(protocol), handler) in xfrm6_rcv_cb()
67 struct xfrm6_protocol __rcu **head = proto_handlers(nexthdr); in xfrm6_rcv_encap()
242 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_register()
247 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_register()
251 for (pprev = proto_handlers(protocol); in xfrm6_protocol_register()
287 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_deregister()
292 for (pprev = proto_handlers(protocol); in xfrm6_protocol_deregister()
303 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_deregister()
/linux-6.3-rc2/net/ipv4/
A Dxfrm4_protocol.c26 static inline struct xfrm4_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() function
49 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); in xfrm4_rcv_cb()
66 struct xfrm4_protocol __rcu **head = proto_handlers(nexthdr); in xfrm4_rcv_encap()
226 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_register()
231 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_register()
235 for (pprev = proto_handlers(protocol); in xfrm4_protocol_register()
271 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_deregister()
276 for (pprev = proto_handlers(protocol); in xfrm4_protocol_deregister()
287 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_deregister()

Completed in 4 milliseconds