Lines Matching refs:xfrm4_protocol
25 static struct xfrm4_protocol __rcu *esp4_handlers __read_mostly;
26 static struct xfrm4_protocol __rcu *ah4_handlers __read_mostly;
27 static struct xfrm4_protocol __rcu *ipcomp4_handlers __read_mostly;
30 static inline struct xfrm4_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers()
52 struct xfrm4_protocol *handler; in xfrm4_rcv_cb()
53 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); in xfrm4_rcv_cb()
70 struct xfrm4_protocol *handler; in xfrm4_rcv_encap()
71 struct xfrm4_protocol __rcu **head = proto_handlers(nexthdr); in xfrm4_rcv_encap()
95 struct xfrm4_protocol *handler; in xfrm4_esp_rcv()
111 struct xfrm4_protocol *handler; in xfrm4_esp_err()
121 struct xfrm4_protocol *handler; in xfrm4_ah_rcv()
137 struct xfrm4_protocol *handler; in xfrm4_ah_err()
147 struct xfrm4_protocol *handler; in xfrm4_ipcomp_rcv()
163 struct xfrm4_protocol *handler; in xfrm4_ipcomp_err()
211 int xfrm4_protocol_register(struct xfrm4_protocol *handler, in xfrm4_protocol_register()
214 struct xfrm4_protocol __rcu **pprev; in xfrm4_protocol_register()
215 struct xfrm4_protocol *t; in xfrm4_protocol_register()
258 int xfrm4_protocol_deregister(struct xfrm4_protocol *handler, in xfrm4_protocol_deregister()
261 struct xfrm4_protocol __rcu **pprev; in xfrm4_protocol_deregister()
262 struct xfrm4_protocol *t; in xfrm4_protocol_deregister()