Searched refs:km (Results 1 – 10 of 10) sorted by relevance
/net/netfilter/ |
D | nf_conntrack_proto_gre.c | 58 static inline int gre_key_cmpfn(const struct nf_ct_gre_keymap *km, in gre_key_cmpfn() argument 61 return km->tuple.src.l3num == t->src.l3num && in gre_key_cmpfn() 62 !memcmp(&km->tuple.src.u3, &t->src.u3, sizeof(t->src.u3)) && in gre_key_cmpfn() 63 !memcmp(&km->tuple.dst.u3, &t->dst.u3, sizeof(t->dst.u3)) && in gre_key_cmpfn() 64 km->tuple.dst.protonum == t->dst.protonum && in gre_key_cmpfn() 65 km->tuple.dst.u.all == t->dst.u.all; in gre_key_cmpfn() 72 struct nf_ct_gre_keymap *km; in gre_keymap_lookup() local 75 list_for_each_entry_rcu(km, &net_gre->keymap_list, list) { in gre_keymap_lookup() 76 if (gre_key_cmpfn(km, t)) { in gre_keymap_lookup() 77 key = km->tuple.src.u.gre.key; in gre_keymap_lookup() [all …]
|
/net/xfrm/ |
D | xfrm_state.c | 116 if (x->km.seq) { in xfrm_hash_transfer() 117 h = __xfrm_seq_hash(x->km.seq, nhashmask); in xfrm_hash_transfer() 551 if (x->km.state == XFRM_STATE_DEAD) in xfrm_timer_handler() 553 if (x->km.state == XFRM_STATE_EXPIRED) in xfrm_timer_handler() 580 if (x->km.dying) in xfrm_timer_handler() 603 x->km.dying = warn; in xfrm_timer_handler() 615 if (x->km.state == XFRM_STATE_ACQ && x->id.spi == 0) in xfrm_timer_handler() 616 x->km.state = XFRM_STATE_EXPIRED; in xfrm_timer_handler() 641 INIT_LIST_HEAD(&x->km.all); in xfrm_state_alloc() 664 WARN_ON(x->km.state != XFRM_STATE_DEAD); in __xfrm_state_destroy() [all …]
|
D | xfrm_input.c | 482 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input() 483 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input() 602 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input() 603 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
|
D | xfrm_user.c | 650 x->km.seq = p->seq; in xfrm_state_construct() 672 x->km.state = XFRM_STATE_DEAD; in xfrm_state_construct() 705 x->km.state = XFRM_STATE_DEAD; in xfrm_add_sa() 711 if (x->km.state == XFRM_STATE_VOID) in xfrm_add_sa() 712 x->km.state = XFRM_STATE_VALID; in xfrm_add_sa() 811 p->seq = x->km.seq; in copy_to_user_state() 2368 if (x->km.state != XFRM_STATE_VALID) in xfrm_new_ae() 2503 if (x->km.state != XFRM_STATE_VALID) in xfrm_add_sa_expire() 2628 struct xfrm_kmaddress km, *kmp; in xfrm_do_migrate() local 2639 kmp = attrs[XFRMA_KMADDRESS] ? &km : NULL; in xfrm_do_migrate() [all …]
|
D | xfrm_output.c | 515 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_output_one()
|
D | xfrm_policy.c | 2396 if (x && x->km.state == XFRM_STATE_VALID) { in xfrm_tmpl_resolve_one() 2403 error = (x->km.state == XFRM_STATE_ERROR ? in xfrm_tmpl_resolve_one() 3828 if (dst->xfrm->km.state != XFRM_STATE_VALID) in xfrm_bundle_ok()
|
/net/ipv4/ |
D | ipcomp.c | 86 t->km.state = XFRM_STATE_DEAD; in ipcomp_tunnel_create()
|
/net/ipv6/ |
D | ipcomp6.c | 105 t->km.state = XFRM_STATE_DEAD; in ipcomp6_tunnel_create()
|
D | xfrm6_input.c | 224 likely(x->km.state == XFRM_STATE_VALID) && in xfrm6_input_addr()
|
/net/key/ |
D | af_key.c | 840 switch (x->km.state) { in __pfkey_xfrm_state2msg() 842 sa->sadb_sa_state = x->km.dying ? in __pfkey_xfrm_state2msg() 1291 x->km.seq = hdr->sadb_msg_seq; in pfkey_msg2xfrm_state() 1295 x->km.state = XFRM_STATE_DEAD; in pfkey_msg2xfrm_state() 1426 if (x->km.state == XFRM_STATE_ACQ) in pfkey_acquire() 1427 x->km.state = XFRM_STATE_ERROR; in pfkey_acquire() 1517 x->km.state = XFRM_STATE_DEAD; in pfkey_add() 3197 hdr->sadb_msg_seq = x->km.seq = get_acqseq(); in pfkey_send_acquire() 3401 hdr->sadb_msg_seq = x->km.seq; in pfkey_send_new_mapping()
|