Searched refs:use_spi (Results 1 – 1 of 1) sorted by relevance
/net/xfrm/ |
D | xfrm_state.c | 978 __xfrm_state_locate(struct xfrm_state *x, int use_spi, int family) in __xfrm_state_locate() argument 983 if (use_spi) in __xfrm_state_locate() 1394 int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY); in xfrm_state_add() local 1402 x1 = __xfrm_state_locate(x, use_spi, family); in xfrm_state_add() 1410 if (use_spi && x->km.seq) { in xfrm_state_add() 1419 if (use_spi && !x1) in xfrm_state_add() 1656 int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY); in xfrm_state_update() local 1662 x1 = __xfrm_state_locate(x, use_spi, x->props.family); in xfrm_state_update() 1707 if (!use_spi && memcmp(&x1->sel, &x->sel, sizeof(x1->sel))) in xfrm_state_update()
|