Lines Matching refs:thlds

3167 			struct sctp_paddrthlds *thlds;  local
3174 SCTP_CHECK_AND_CAST(thlds, optval, struct sctp_paddrthlds, *optsize);
3175 SCTP_FIND_STCB(inp, stcb, thlds->spt_assoc_id);
3178 if (thlds->spt_address.ss_family == AF_INET6) {
3181 sin6 = (struct sockaddr_in6 *)&thlds->spt_address;
3186 addr = (struct sockaddr *)&thlds->spt_address;
3189 addr = (struct sockaddr *)&thlds->spt_address;
3192 addr = (struct sockaddr *)&thlds->spt_address;
3248 thlds->spt_pathmaxrxt = net->failure_threshold;
3249 thlds->spt_pathpfthld = net->pf_threshold;
3250 thlds->spt_pathcpthld = 0xffff;
3252 thlds->spt_pathmaxrxt = stcb->asoc.def_net_failure;
3253 thlds->spt_pathpfthld = stcb->asoc.def_net_pf_threshold;
3254 thlds->spt_pathcpthld = 0xffff;
3256 thlds->spt_assoc_id = sctp_get_associd(stcb);
3262 (thlds->spt_assoc_id == SCTP_FUTURE_ASSOC))) {
3265 thlds->spt_pathmaxrxt = inp->sctp_ep.def_net_failure;
3266 thlds->spt_pathpfthld = inp->sctp_ep.def_net_pf_threshold;
3267 thlds->spt_pathcpthld = 0xffff;
6295 struct sctp_paddrthlds *thlds; local
6302 SCTP_CHECK_AND_CAST(thlds, optval, struct sctp_paddrthlds, optsize);
6303 SCTP_FIND_STCB(inp, stcb, thlds->spt_assoc_id);
6306 if (thlds->spt_address.ss_family == AF_INET6) {
6309 sin6 = (struct sockaddr_in6 *)&thlds->spt_address;
6314 addr = (struct sockaddr *)&thlds->spt_address;
6317 addr = (struct sockaddr *)&thlds->spt_address;
6320 addr = (struct sockaddr *)&thlds->spt_address;
6374 if (thlds->spt_pathcpthld != 0xffff) {
6384 net->failure_threshold = thlds->spt_pathmaxrxt;
6385 net->pf_threshold = thlds->spt_pathpfthld;
6415 net->failure_threshold = thlds->spt_pathmaxrxt;
6416 net->pf_threshold = thlds->spt_pathpfthld;
6445 stcb->asoc.def_net_failure = thlds->spt_pathmaxrxt;
6446 stcb->asoc.def_net_pf_threshold = thlds->spt_pathpfthld;
6453 (thlds->spt_assoc_id == SCTP_FUTURE_ASSOC))) {
6455 inp->sctp_ep.def_net_failure = thlds->spt_pathmaxrxt;
6456 inp->sctp_ep.def_net_pf_threshold = thlds->spt_pathpfthld;