Lines Matching defs:key
693 static int tcp_v6_md5_hash_hdr(char *md5_hash, const struct tcp_md5sig_key *key,
709 if (tcp_md5_hash_key(hp, key))
726 const struct tcp_md5sig_key *key,
756 if (tcp_md5_hash_key(hp, key))
887 int oif, struct tcp_md5sig_key *key, int rst,
904 if (key)
939 if (key) {
942 tcp_v6_md5_hash_hdr((__u8 *)topt, key,
1011 struct tcp_md5sig_key *key = NULL;
1043 key = tcp_v6_md5_do_lookup(sk, &ipv6h->saddr, l3index);
1051 * source port, and then find md5 key through listening socket.
1053 * Incoming packet is checked with md5 hash with finding key,
1069 key = tcp_v6_md5_do_lookup(sk1, &ipv6h->saddr, l3index);
1070 if (!key)
1073 genhash = tcp_v6_md5_hash_skb(newhash, key, NULL, skb);
1104 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1,
1115 struct tcp_md5sig_key *key, u8 tclass,
1118 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0,
1234 struct tcp_md5sig_key *key;
1389 /* Copy over the MD5 key from the original socket */
1390 key = tcp_v6_md5_do_lookup(sk, &newsk->sk_v6_daddr, l3index);
1391 if (key) {
1392 /* We're using one, so create a matching key
1394 * memory, then we end up not copying the key
1398 AF_INET6, 128, l3index, key->key, key->keylen,