Lines Matching defs:sasoc
2214 struct sctp_assocparams *sasoc;
2224 sasoc = sopt->sopt_data;
2235 if ((sasoc->sasoc_assoc_id) && (stcb == NULL)) {
2237 sasoc->sasoc_assoc_id);
2247 sasoc->sasoc_asocmaxrxt = stcb->asoc.max_send_times;
2248 sasoc->sasoc_number_peer_destinations = stcb->asoc.numnets;
2249 sasoc->sasoc_peer_rwnd = stcb->asoc.peers_rwnd;
2250 sasoc->sasoc_local_rwnd = stcb->asoc.my_rwnd;
2251 sasoc->sasoc_cookie_life = stcb->asoc.cookie_life;
2255 sasoc->sasoc_asocmaxrxt = inp->sctp_ep.max_send_times;
2256 sasoc->sasoc_number_peer_destinations = 0;
2257 sasoc->sasoc_peer_rwnd = 0;
2258 sasoc->sasoc_local_rwnd = sbspace(&inp->sctp_socket->so_rcv);
2259 sasoc->sasoc_cookie_life = inp->sctp_ep.def_cookie_life;
2262 sopt->sopt_size = sizeof(*sasoc);
2959 struct sctp_assocparams *sasoc;
2965 sasoc = sopt->sopt_data;
2966 if (sasoc->sasoc_assoc_id) {
2976 sasoc->sasoc_assoc_id);
2986 if (sasoc->sasoc_asocmaxrxt)
2987 stcb->asoc.max_send_times = sasoc->sasoc_asocmaxrxt;
2988 sasoc->sasoc_number_peer_destinations = stcb->asoc.numnets;
2989 sasoc->sasoc_peer_rwnd = 0;
2990 sasoc->sasoc_local_rwnd = 0;
2992 stcb->asoc.cookie_life = sasoc->sasoc_cookie_life;
2996 if (sasoc->sasoc_asocmaxrxt)
2997 inp->sctp_ep.max_send_times = sasoc->sasoc_asocmaxrxt;
2998 sasoc->sasoc_number_peer_destinations = 0;
2999 sasoc->sasoc_peer_rwnd = 0;
3000 sasoc->sasoc_local_rwnd = 0;
3001 if (sasoc->sasoc_cookie_life)
3002 inp->sctp_ep.def_cookie_life = sasoc->sasoc_cookie_life;