Home
last modified time | relevance | path

Searched refs:xfrm_state_walk (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dxfrm.h120 struct xfrm_state_walk { struct
170 struct xfrm_state_walk km;
1480 void xfrm_state_walk_init(struct xfrm_state_walk *walk, u8 proto,
1482 int xfrm_state_walk(struct net *net, struct xfrm_state_walk *walk,
1484 void xfrm_state_walk_done(struct xfrm_state_walk *walk, struct net *net);
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_state.c1225 struct xfrm_state_walk *w; in xfrm_state_lookup_byspi()
2075 int xfrm_state_walk(struct net *net, struct xfrm_state_walk *walk, in xfrm_state_walk() function
2080 struct xfrm_state_walk *x; in xfrm_state_walk()
2088 x = list_first_entry(&net->xfrm.state_all, struct xfrm_state_walk, all); in xfrm_state_walk()
2090 x = list_first_entry(&walk->all, struct xfrm_state_walk, all); in xfrm_state_walk()
2115 EXPORT_SYMBOL(xfrm_state_walk);
2117 void xfrm_state_walk_init(struct xfrm_state_walk *walk, u8 proto, in xfrm_state_walk_init()
2128 void xfrm_state_walk_done(struct xfrm_state_walk *walk, struct net *net) in xfrm_state_walk_done()
Dxfrm_user.c1031 struct xfrm_state_walk *walk = (struct xfrm_state_walk *) &cb->args[1]; in xfrm_dump_sa_done()
1043 struct xfrm_state_walk *walk = (struct xfrm_state_walk *) &cb->args[1]; in xfrm_dump_sa()
1046 BUILD_BUG_ON(sizeof(struct xfrm_state_walk) > in xfrm_dump_sa()
1079 (void) xfrm_state_walk(net, walk, dump_one_state, &info); in xfrm_dump_sa()
/kernel/linux/linux-5.10/net/key/
Daf_key.c58 struct xfrm_state_walk state;
1824 return xfrm_state_walk(net, &pfk->dump.u.state, dump_sa, (void *) pfk); in pfkey_dump_sa()