Home
last modified time | relevance | path

Searched refs:keyptr (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/net/netfilter/
Dnf_nat_core.c406 __be16 *keyptr; in nf_nat_l4proto_unique_tuple() local
414 keyptr = &tuple->src.u.icmp.id; in nf_nat_l4proto_unique_tuple()
432 keyptr = &tuple->src.u.gre.key; in nf_nat_l4proto_unique_tuple()
434 keyptr = &tuple->dst.u.gre.key; in nf_nat_l4proto_unique_tuple()
451 keyptr = &tuple->src.u.all; in nf_nat_l4proto_unique_tuple()
453 keyptr = &tuple->dst.u.all; in nf_nat_l4proto_unique_tuple()
466 if (ntohs(*keyptr) < 1024) { in nf_nat_l4proto_unique_tuple()
468 if (ntohs(*keyptr) < 512) { in nf_nat_l4proto_unique_tuple()
489 off = (ntohs(*keyptr) - ntohs(range->base_proto.all)); in nf_nat_l4proto_unique_tuple()
505 *keyptr = htons(min + off % range_size); in nf_nat_l4proto_unique_tuple()
/Linux-v5.10/crypto/
Dtestmgr.c782 u8 *keybuf = NULL, *keyptr = (u8 *)key; in prepare_keybuf() local
790 keyptr = keybuf + key_offset; in prepare_keybuf()
791 memcpy(keyptr, key, ksize); in prepare_keybuf()
794 *keyptr_ret = keyptr; in prepare_keybuf()
801 const u8 *keybuf, *keyptr; \
805 &keybuf, &keyptr); \
807 err = setkey_f((tfm), keyptr, (ksize)); \