Lines Matching refs:thlds

3159 			struct sctp_paddrthlds *thlds;
3166 SCTP_CHECK_AND_CAST(thlds, optval, struct sctp_paddrthlds, *optsize);
3167 SCTP_FIND_STCB(inp, stcb, thlds->spt_assoc_id);
3170 if (thlds->spt_address.ss_family == AF_INET6) {
3173 sin6 = (struct sockaddr_in6 *)&thlds->spt_address;
3178 addr = (struct sockaddr *)&thlds->spt_address;
3181 addr = (struct sockaddr *)&thlds->spt_address;
3184 addr = (struct sockaddr *)&thlds->spt_address;
3240 thlds->spt_pathmaxrxt = net->failure_threshold;
3241 thlds->spt_pathpfthld = net->pf_threshold;
3242 thlds->spt_pathcpthld = 0xffff;
3244 thlds->spt_pathmaxrxt = stcb->asoc.def_net_failure;
3245 thlds->spt_pathpfthld = stcb->asoc.def_net_pf_threshold;
3246 thlds->spt_pathcpthld = 0xffff;
3248 thlds->spt_assoc_id = sctp_get_associd(stcb);
3254 (thlds->spt_assoc_id == SCTP_FUTURE_ASSOC))) {
3257 thlds->spt_pathmaxrxt = inp->sctp_ep.def_net_failure;
3258 thlds->spt_pathpfthld = inp->sctp_ep.def_net_pf_threshold;
3259 thlds->spt_pathcpthld = 0xffff;
6305 struct sctp_paddrthlds *thlds;
6312 SCTP_CHECK_AND_CAST(thlds, optval, struct sctp_paddrthlds, optsize);
6313 SCTP_FIND_STCB(inp, stcb, thlds->spt_assoc_id);
6316 if (thlds->spt_address.ss_family == AF_INET6) {
6319 sin6 = (struct sockaddr_in6 *)&thlds->spt_address;
6324 addr = (struct sockaddr *)&thlds->spt_address;
6327 addr = (struct sockaddr *)&thlds->spt_address;
6330 addr = (struct sockaddr *)&thlds->spt_address;
6385 if (thlds->spt_pathcpthld != 0xffff) {
6395 net->failure_threshold = thlds->spt_pathmaxrxt;
6396 net->pf_threshold = thlds->spt_pathpfthld;
6426 net->failure_threshold = thlds->spt_pathmaxrxt;
6427 net->pf_threshold = thlds->spt_pathpfthld;
6456 stcb->asoc.def_net_failure = thlds->spt_pathmaxrxt;
6457 stcb->asoc.def_net_pf_threshold = thlds->spt_pathpfthld;
6464 (thlds->spt_assoc_id == SCTP_FUTURE_ASSOC))) {
6466 inp->sctp_ep.def_net_failure = thlds->spt_pathmaxrxt;
6467 inp->sctp_ep.def_net_pf_threshold = thlds->spt_pathpfthld;