Home
last modified time | relevance | path

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

/linux-6.1.9/include/net/
Dxfrm.h120 struct xfrm_state_walk { struct
182 struct xfrm_state_walk km;
1511 void xfrm_state_walk_init(struct xfrm_state_walk *walk, u8 proto,
1513 int xfrm_state_walk(struct net *net, struct xfrm_state_walk *walk,
1515 void xfrm_state_walk_done(struct xfrm_state_walk *walk, struct net *net);
/linux-6.1.9/net/xfrm/
Dxfrm_state.c1256 struct xfrm_state_walk *w; in xfrm_state_lookup_byspi()
2118 int xfrm_state_walk(struct net *net, struct xfrm_state_walk *walk, in xfrm_state_walk() function
2123 struct xfrm_state_walk *x; in xfrm_state_walk()
2131 x = list_first_entry(&net->xfrm.state_all, struct xfrm_state_walk, all); in xfrm_state_walk()
2133 x = list_first_entry(&walk->all, struct xfrm_state_walk, all); in xfrm_state_walk()
2158 EXPORT_SYMBOL(xfrm_state_walk);
2160 void xfrm_state_walk_init(struct xfrm_state_walk *walk, u8 proto, in xfrm_state_walk_init()
2171 void xfrm_state_walk_done(struct xfrm_state_walk *walk, struct net *net) in xfrm_state_walk_done()
Dxfrm_user.c1177 struct xfrm_state_walk *walk = (struct xfrm_state_walk *) &cb->args[1]; in xfrm_dump_sa_done()
1189 struct xfrm_state_walk *walk = (struct xfrm_state_walk *) &cb->args[1]; in xfrm_dump_sa()
1192 BUILD_BUG_ON(sizeof(struct xfrm_state_walk) > in xfrm_dump_sa()
1225 (void) xfrm_state_walk(net, walk, dump_one_state, &info); in xfrm_dump_sa()
/linux-6.1.9/net/key/
Daf_key.c58 struct xfrm_state_walk state;
1820 return xfrm_state_walk(net, &pfk->dump.u.state, dump_sa, (void *) pfk); in pfkey_dump_sa()