Lines Matching refs:md5sig
213 struct tcp_md5sig md5sig = {};
217 md5sig.tcpm_keylen = keylen;
218 memcpy(md5sig.tcpm_key, args->password, keylen);
222 md5sig.tcpm_flags |= TCP_MD5SIG_FLAG_PREFIX;
224 md5sig.tcpm_prefixlen = args->prefix_len;
227 memcpy(&md5sig.tcpm_addr, addr, alen);
231 md5sig.tcpm_flags |= TCP_MD5SIG_FLAG_IFINDEX;
233 md5sig.tcpm_ifindex = args->ifindex;
236 rc = setsockopt(sd, IPPROTO_TCP, opt, &md5sig, sizeof(md5sig));