Lines Matching defs:key
699 static int tcp_v6_md5_hash_hdr(char *md5_hash, const struct tcp_md5sig_key *key,
715 if (tcp_md5_hash_key(hp, key))
732 const struct tcp_md5sig_key *key,
762 if (tcp_md5_hash_key(hp, key))
847 int oif, struct tcp_md5sig_key *key, int rst,
864 if (key)
869 if (rst && !key) {
910 if (key) {
913 tcp_v6_md5_hash_hdr((__u8 *)topt, key,
981 struct tcp_md5sig_key *key = NULL;
1014 key = tcp_v6_md5_do_lookup(sk, &ipv6h->saddr, l3index);
1022 * source port, and then find md5 key through listening socket.
1024 * Incoming packet is checked with md5 hash with finding key,
1039 key = tcp_v6_md5_do_lookup(sk1, &ipv6h->saddr, l3index);
1040 if (!key)
1043 genhash = tcp_v6_md5_hash_skb(newhash, key, NULL, skb);
1076 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1,
1087 struct tcp_md5sig_key *key, u8 tclass,
1090 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0,
1209 struct tcp_md5sig_key *key;
1363 /* Copy over the MD5 key from the original socket */
1364 key = tcp_v6_md5_do_lookup(sk, &newsk->sk_v6_daddr, l3index);
1365 if (key) {
1369 if (tcp_md5_key_copy(newsk, addr, AF_INET6, 128, l3index, key)) {