Searched refs:md5sig (Results 1 – 1 of 1) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/net/ |
D | nettest.c | 205 struct tcp_md5sig md5sig; in tcp_md5sig() local 209 memset(&md5sig, 0, sizeof(md5sig)); in tcp_md5sig() 210 memcpy(&md5sig.tcpm_addr, addr, alen); in tcp_md5sig() 211 md5sig.tcpm_keylen = keylen; in tcp_md5sig() 214 memcpy(md5sig.tcpm_key, password, keylen); in tcp_md5sig() 216 rc = setsockopt(sd, IPPROTO_TCP, TCP_MD5SIG, &md5sig, sizeof(md5sig)); in tcp_md5sig()
|