Lines Matching refs:primary_destination
3943 netp = asoc->asoc.primary_destination;
3949 asoc->asoc.primary_destination);
3958 asoc->asoc.primary_destination);
4738 if (stcb->asoc.primary_destination == 0) {
4739 stcb->asoc.primary_destination = net;
4740 } else if ((stcb->asoc.primary_destination->ro.ro_rt == NULL) &&
4744 stcb->asoc.primary_destination = net;
4748 if ((net != stcb->asoc.primary_destination) &&
4749 (stcb->asoc.primary_destination)) {
4756 stcb->asoc.primary_destination, sctp_next);
4758 stcb->asoc.primary_destination, sctp_next);
5090 if (net == asoc->primary_destination) {
5120 asoc->primary_destination = sctp_find_alternate_net(stcb, lnet, 0);
6135 stcb->asoc.primary_destination = net;
6171 * this one for each assoc, see if a new primary_destination
7532 if (net == stcb->asoc.primary_destination) {
7533 stcb->asoc.primary_destination = NULL;
7613 stcb->asoc.primary_destination = net;
7619 if (net != stcb->asoc.primary_destination) {
7625 TAILQ_REMOVE(&stcb->asoc.nets, stcb->asoc.primary_destination, sctp_next);
7626 TAILQ_INSERT_HEAD(&stcb->asoc.nets, stcb->asoc.primary_destination, sctp_next);