Lines Matching refs:k
2491 struct xfrm_kmaddress k; in pfkey_migrate() local
2510 k.reserved = kma->sadb_x_kmaddress_reserved; in pfkey_migrate()
2513 &k.local, &k.remote, &k.family); in pfkey_migrate()
2565 kma ? &k : NULL); in pfkey_migrate()
2835 int i, k, sz = 0; in count_esp_combs() local
2845 for (k = 1; ; k++) { in count_esp_combs()
2846 struct xfrm_algo_desc *aalg = xfrm_aalg_get_byidx(k); in count_esp_combs()
2892 int i, k; in dump_esp_combs() local
2908 for (k = 1; ; k++) { in dump_esp_combs()
2910 struct xfrm_algo_desc *aalg = xfrm_aalg_get_byidx(k); in dump_esp_combs()
3367 static int set_sadb_kmaddress(struct sk_buff *skb, struct xfrm_kmaddress *k) in set_sadb_kmaddress() argument
3371 int family = k->family; in set_sadb_kmaddress()
3382 kma->sadb_x_kmaddress_reserved = k->reserved; in set_sadb_kmaddress()
3385 if (!pfkey_sockaddr_fill(&k->local, 0, (struct sockaddr *)sa, family) || in set_sadb_kmaddress()
3386 !pfkey_sockaddr_fill(&k->remote, 0, (struct sockaddr *)(sa+socklen), family)) in set_sadb_kmaddress()
3425 struct xfrm_kmaddress *k) in pfkey_send_migrate() argument
3442 if (k != NULL) { in pfkey_send_migrate()
3445 pfkey_sockaddr_pair_size(k->family)); in pfkey_send_migrate()
3485 if (k != NULL && (set_sadb_kmaddress(skb, k) < 0)) in pfkey_send_migrate()
3534 struct xfrm_kmaddress *k) in pfkey_send_migrate() argument