Lines Matching defs:net
2943 struct sctp_nets *net,
2991 if (net) {
2992 cur_addr_num = net->indx_of_eligible_next_to_use;
3028 if (net) {
3030 net->indx_of_eligible_next_to_use = cur_addr_num + 1;
3079 if (net) {
3080 net->indx_of_eligible_next_to_use = cur_addr_num + 1;
3086 SCTPDBG_ADDR(SCTP_DEBUG_OUTPUT2, &net->ro._l_addr.sa);
3296 struct sctp_nets *net,
3390 if (net != NULL) {
3392 net->addr_is_local = 1;
3411 if (net != NULL) {
3413 net->addr_is_local = 1;
3428 answer = sctp_choose_boundall(inp, stcb, net, ro, vrf_id,
3908 struct sctp_nets *net,
3913 if (net) {
3915 SCTPDBG_ADDR(SCTP_DEBUG_OUTPUT1, &net->ro._l_addr.sa);
3916 if (net->dest_state & SCTP_ADDR_CONFIRMED) {
3917 if ((net->dest_state & SCTP_ADDR_REACHABLE) && stcb) {
3918 SCTPDBG(SCTP_DEBUG_OUTPUT1, "no route takes interface %p down\n", (void *)net);
3921 (void *)net,
3923 net->dest_state &= ~SCTP_ADDR_REACHABLE;
3924 net->dest_state &= ~SCTP_ADDR_PF;
3928 if (net == stcb->asoc.primary_destination) {
3932 alt = sctp_find_alternate_net(stcb, net, 0);
3933 if (alt != net) {
3939 if (net->ro._s_addr) {
3940 sctp_free_ifa(net->ro._s_addr);
3941 net->ro._s_addr = NULL;
3943 net->src_addr_selected = 0;
3954 struct sctp_nets *net,
4000 if ((net) && (net->dest_state & SCTP_ADDR_OUT_OF_SCOPE)) {
4001 SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, SCTP_FROM_SCTP_OUTPUT, EFAULT);
4017 if (net) {
4018 tos_value = net->dscp;
4047 if (net != NULL) {
4048 m->m_pkthdr.flowid = net->flowid;
4049 M_HASHTYPE_SET(m, net->flowtype);
4087 if (net == NULL) {
4092 ro = (sctp_route_t *)&net->ro;
4098 if (net && out_of_asoc_ok == 0) {
4099 if (net->ro._s_addr && (net->ro._s_addr->localifa_flags & (SCTP_BEING_DELETED | SCTP_ADDR_IFA_UNUSEABLE))) {
4100 sctp_free_ifa(net->ro._s_addr);
4101 net->ro._s_addr = NULL;
4102 net->src_addr_selected = 0;
4105 if (net->src_addr_selected == 0) {
4107 net->ro._s_addr = sctp_source_address_selection(inp, stcb,
4108 ro, net, 0,
4110 net->src_addr_selected = 1;
4112 if (net->ro._s_addr == NULL) {
4114 net->src_addr_selected = 0;
4115 sctp_handle_no_route(stcb, net, so_locked);
4120 ip->ip_src = net->ro._s_addr->address.sin.sin_addr;
4126 net,
4130 sctp_handle_no_route(stcb, net, so_locked);
4144 sctp_handle_no_route(stcb, net, so_locked);
4181 sctp_handle_no_route(stcb, net, so_locked);
4238 if (net == NULL) {
4242 if ((ro->ro_nh != NULL) && (net->ro._s_addr) &&
4243 ((net->dest_state & SCTP_ADDR_NO_PMTUD) == 0)) {
4246 mtu = SCTP_GATHER_MTU_FROM_ROUTE(net->ro._s_addr, &net->ro._l_addr.sa, ro->ro_nh);
4248 if (net->port) {
4251 if (mtu < net->mtu) {
4252 net->mtu = mtu;
4260 if (net->ro._s_addr &&
4261 net->src_addr_selected) {
4262 sctp_free_ifa(net->ro._s_addr);
4263 net->ro._s_addr = NULL;
4265 net->src_addr_selected = 0;
4285 if (net) {
4286 flowlabel = net->flowlabel;
4315 if (net != NULL) {
4316 m->m_pkthdr.flowid = net->flowid;
4317 M_HASHTYPE_SET(m, net->flowtype);
4332 SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, SCTP_FROM_SCTP_OUTPUT, EINVAL);
4336 if (net == NULL) {
4341 ro = (sctp_route_t *)&net->ro;
4383 if (net && out_of_asoc_ok == 0) {
4384 if (net->ro._s_addr && (net->ro._s_addr->localifa_flags & (SCTP_BEING_DELETED | SCTP_ADDR_IFA_UNUSEABLE))) {
4385 sctp_free_ifa(net->ro._s_addr);
4386 net->ro._s_addr = NULL;
4387 net->src_addr_selected = 0;
4390 if (net->src_addr_selected == 0) {
4391 sin6 = (struct sockaddr_in6 *)&net->ro._l_addr;
4394 SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, SCTP_FROM_SCTP_OUTPUT, EINVAL);
4399 net->ro._s_addr = sctp_source_address_selection(inp,
4402 net,
4406 net->src_addr_selected = 1;
4408 if (net->ro._s_addr == NULL) {
4410 net->src_addr_selected = 0;
4411 sctp_handle_no_route(stcb, net, so_locked);
4416 lsa6->sin6_addr = net->ro._s_addr->address.sin6.sin6_addr;
4421 SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, SCTP_FROM_SCTP_OUTPUT, EINVAL);
4429 net,
4433 sctp_handle_no_route(stcb, net, so_locked);
4454 sctp_handle_no_route(stcb, net, so_locked);
4480 sctp_handle_no_route(stcb, net, so_locked);
4518 if (net) {
4519 sin6 = (struct sockaddr_in6 *)&net->ro._l_addr;
4553 if (net) {
4567 if (net == NULL) {
4577 if (net->ro._s_addr &&
4578 net->src_addr_selected) {
4579 sctp_free_ifa(net->ro._s_addr);
4580 net->ro._s_addr = NULL;
4582 net->src_addr_selected = 0;
4584 if ((ro->ro_nh != NULL) && (net->ro._s_addr) &&
4585 ((net->dest_state & SCTP_ADDR_NO_PMTUD) == 0)) {
4588 mtu = SCTP_GATHER_MTU_FROM_ROUTE(net->ro._s_addr, &net->ro._l_addr.sa, ro->ro_nh);
4590 if (net->port) {
4593 if (mtu < net->mtu) {
4594 net->mtu = mtu;
4614 SCTP_LTRACE_ERR_RET_PKT(m, inp, stcb, net, SCTP_FROM_SCTP_OUTPUT, EFAULT);
4623 struct sctp_nets *net;
4635 net = stcb->asoc.primary_destination;
4636 if (net == NULL) {
4637 net = TAILQ_FIRST(&stcb->asoc.nets);
4638 if (net == NULL) {
4643 net->dest_state &= ~SCTP_ADDR_UNCONFIRMED;
4644 (void)sctp_set_primary_addr(stcb, NULL, net);
4647 net->dest_state &= ~SCTP_ADDR_UNCONFIRMED;
4651 if (net->ro._l_addr.sa.sa_family == AF_INET6) {
4656 if (IN6_IS_ADDR_LINKLOCAL(&net->ro._l_addr.sin6.sin6_addr))
4660 if (SCTP_OS_TIMER_PENDING(&net->rxt_timer.timer)) {
4666 sctp_timer_start(SCTP_TIMER_TYPE_INIT, inp, stcb, net);
4897 if ((error = sctp_lowlevel_chunk_output(inp, stcb, net,
4898 (struct sockaddr *)&net->ro._l_addr,
4901 net->port, NULL,
4913 (void)SCTP_GETTIME_TIMEVAL(&net->last_sent_time);
5290 struct sctp_nets *net;
5334 TAILQ_FOREACH(net, &asoc->nets, sctp_next) {
5335 sa = (struct sockaddr *)&net->ro._l_addr;
5444 TAILQ_FOREACH(net, &asoc->nets, sctp_next) {
5445 sa = (struct sockaddr *)&net->ro._l_addr;
5528 struct sctp_nets *net = NULL;
5623 net = asoc->primary_destination;
5652 if (net == NULL) {
5768 /* use the net pointer */
5769 to = (struct sockaddr *)&net->ro._l_addr;
5779 if (net->src_addr_selected == 0) {
5784 net->ro._s_addr = sctp_source_address_selection(inp,
5785 stcb, (sctp_route_t *)&net->ro,
5786 net, 0, vrf_id);
5787 if (net->ro._s_addr == NULL) {
5793 net->src_addr_selected = 1;
5795 stc.laddress[0] = net->ro._s_addr->address.sin.sin_addr.s_addr;
5811 if (net->src_addr_selected == 0) {
5816 net->ro._s_addr = sctp_source_address_selection(inp,
5817 stcb, (sctp_route_t *)&net->ro,
5818 net, 0, vrf_id);
5819 if (net->ro._s_addr == NULL) {
5825 net->src_addr_selected = 1;
5827 memcpy(&stc.laddress, &net->ro._s_addr->address.sin6.sin6_addr,
6390 struct sctp_nets *net,
6407 SCTP_LTRACE_ERR_RET_PKT(m, NULL, stcb, net, SCTP_FROM_SCTP_OUTPUT, EINVAL);
6413 SCTP_LTRACE_ERR_RET_PKT(m, NULL, stcb, net, SCTP_FROM_SCTP_OUTPUT, EINVAL);
6451 sp->net = net;
6452 atomic_add_int(&sp->net->ref_count, 1);
6454 sp->net = NULL;
6670 struct sctp_nets *net;
6697 net = stcb->asoc.alternate;
6699 net = stcb->asoc.primary_destination;
6741 ret = sctp_msg_append(stcb, net, m, &ca->sndrcv);
6768 sctp_send_shutdown(stcb, net);
6770 net);
7042 struct sctp_nets *net)
7060 data_list[i]->sent_rcv_time = net->last_sent_time;
7061 data_list[i]->rec.data.cwnd_at_send = net->cwnd;
7064 data_list[i]->whoTo = net;
7065 atomic_add_int(&net->ref_count, 1);
7125 (*asoc->cc_functions.sctp_cwnd_update_packet_transmitted) (stcb, net);
7229 struct sctp_nets *net,
7293 if (sp->net) {
7294 sctp_free_remote_addr(sp->net);
7295 sp->net = NULL;
7578 if (sp->net) {
7579 chk->whoTo = sp->net;
7589 stcb->asoc.ss_functions.sctp_ss_scheduled(stcb, net, asoc, strq, to_move);
7680 if (sp->net) {
7681 sctp_free_remote_addr(sp->net);
7682 sp->net = NULL;
7699 sctp_fill_outqueue(struct sctp_tcb *stcb, struct sctp_nets *net,
7711 switch (net->ro._l_addr.sa.sa_family) {
7714 space_left = net->mtu - SCTP_MIN_V4_OVERHEAD;
7719 space_left = net->mtu - SCTP_MIN_OVERHEAD;
7724 space_left = net->mtu;
7732 strq = stcb->asoc.ss_functions.sctp_ss_select_stream(stcb, net, asoc);
7736 moved = sctp_move_to_outqueue(stcb, net, strq, space_left,
7742 strq = stcb->asoc.ss_functions.sctp_ss_select_stream(stcb, net, asoc);
7759 stcb->asoc.ss_functions.sctp_ss_packet_done(stcb, net, asoc);
7763 (net == stcb->asoc.primary_destination)) {
7764 /* ran dry for primary network net */
7786 sctp_move_chunks_from_net(struct sctp_tcb *stcb, struct sctp_nets *net)
7793 if (net == NULL) {
7799 if (sp->net == net) {
7800 sctp_free_remote_addr(sp->net);
7801 sp->net = NULL;
7806 if (chk->whoTo == net) {
7835 struct sctp_nets *net, *start_at, *sack_goes_to = NULL, *old_start_at = NULL;
7942 TAILQ_FOREACH(net, &asoc->nets, sctp_next) {
7944 * This for loop we are in takes in each net, if
7947 * sctp_fill_outqueue for the net. This gets data on
7954 net->window_probe = 0;
7955 if ((net != stcb->asoc.alternate) &&
7956 ((net->dest_state & SCTP_ADDR_PF) ||
7957 ((net->dest_state & SCTP_ADDR_REACHABLE) == 0) ||
7958 (net->dest_state & SCTP_ADDR_UNCONFIRMED))) {
7960 sctp_log_cwnd(stcb, net, 1,
7966 (net->flight_size == 0)) {
7967 (*stcb->asoc.cc_functions.sctp_cwnd_new_transmission_begins) (stcb, net);
7969 if (net->flight_size >= net->cwnd) {
7972 sctp_log_cwnd(stcb, net, 3,
7978 sctp_log_cwnd(stcb, net, 4, SCTP_CWND_LOG_FILL_OUTQ_CALLED);
7980 sctp_fill_outqueue(stcb, net, frag_point, eeor_mode, &quit_now, so_locked);
8025 for (net = start_at; net != NULL; net = TAILQ_NEXT(net, sctp_next)) {
8027 /* SCTPDBG("Examine for sending net:%x\n", (uint32_t)net); */
8028 if (old_start_at && (old_start_at == net)) {
8035 (net->flight_size >= net->cwnd)) {
8048 if (net->dest_state & SCTP_ADDR_UNCONFIRMED) {
8053 switch (((struct sockaddr *)&net->ro._l_addr)->sa_family) {
8056 mtu = net->mtu - SCTP_MIN_V4_OVERHEAD;
8061 mtu = net->mtu - SCTP_MIN_OVERHEAD;
8066 mtu = net->mtu;
8094 if (asoc->primary_destination != net) {
8098 if (asoc->alternate != net) {
8103 if (chk->whoTo != net) {
8190 chk->whoTo = net;
8191 atomic_add_int(&net->ref_count, 1);
8201 sctp_timer_start(SCTP_TIMER_TYPE_ASCONF, inp, stcb, net);
8211 net->last_sent_time = *now;
8213 if ((error = sctp_lowlevel_chunk_output(inp, stcb, net,
8214 (struct sockaddr *)&net->ro._l_addr,
8220 net->port, NULL,
8242 sctp_move_chunks_from_net(stcb, net);
8262 switch (net->ro._l_addr.sa.sa_family) {
8265 mtu = net->mtu - SCTP_MIN_V4_OVERHEAD;
8270 mtu = net->mtu - SCTP_MIN_OVERHEAD;
8275 mtu = net->mtu;
8284 /* try next net */
8300 if (chk->whoTo == net) {
8303 * going (current net)
8306 } else if (sack_goes_to == net) {
8316 if (asoc->primary_destination != net) {
8320 if (asoc->alternate != net) {
8325 if (chk->whoTo != net) {
8458 chk->whoTo = net;
8459 atomic_add_int(&net->ref_count, 1);
8479 sctp_timer_start(SCTP_TIMER_TYPE_ASCONF, inp, stcb, net);
8489 sctp_timer_start(SCTP_TIMER_TYPE_COOKIE, inp, stcb, net);
8499 net->last_sent_time = *now;
8502 if ((error = sctp_lowlevel_chunk_output(inp, stcb, net,
8503 (struct sockaddr *)&net->ro._l_addr,
8510 net->port, NULL,
8531 sctp_move_chunks_from_net(stcb, net);
8551 switch (net->ro._l_addr.sa.sa_family) {
8554 mtu = net->mtu - SCTP_MIN_V4_OVERHEAD;
8559 mtu = net->mtu - SCTP_MIN_OVERHEAD;
8564 mtu = net->mtu;
8573 /* try next net */
8578 (net != stcb->asoc.alternate) &&
8579 (net->dest_state & SCTP_ADDR_PF)) {
8582 if (net->flight_size >= net->cwnd) {
8587 (net->flight_size > max_rwnd_per_dest)) {
8593 * net. For now, this is better than nothing and it disabled
8599 (net->flight_size > max_send_per_dest)) {
8617 switch (((struct sockaddr *)&net->ro._l_addr)->sa_family) {
8620 if (net->mtu > SCTP_MIN_V4_OVERHEAD)
8621 omtu = net->mtu - SCTP_MIN_V4_OVERHEAD;
8628 if (net->mtu > SCTP_MIN_OVERHEAD)
8629 omtu = net->mtu - SCTP_MIN_OVERHEAD;
8649 if (net->flight_size >= net->cwnd) {
8650 /* skip this net, no room for data */
8655 (chk->whoTo != net)) {
8656 /* Don't send the chunk on this net */
8662 (asoc->alternate != net) &&
8665 } else if ((net != asoc->primary_destination) &&
8734 if (!SCTP_OS_TIMER_PENDING(&net->rxt_timer.timer)) {
8735 sctp_timer_start(SCTP_TIMER_TYPE_SEND, inp, stcb, net);
8793 net->window_probe = 1;
8804 } /* for (chunk gather loop for this net) */
8820 stcb, net);
8829 sctp_timer_start(SCTP_TIMER_TYPE_COOKIE, inp, stcb, net);
8834 if (bundle_at && (!SCTP_OS_TIMER_PENDING(&net->rxt_timer.timer))) {
8839 sctp_timer_start(SCTP_TIMER_TYPE_SEND, inp, stcb, net);
8847 net->last_sent_time = *now;
8852 net,
8853 (struct sockaddr *)&net->ro._l_addr,
8863 net->port, NULL,
8881 sctp_move_chunks_from_net(stcb, net);
8915 if (net->rto_needed) {
8917 net->rto_needed = 0;
8920 sctp_clean_up_datalist(stcb, asoc, data_list, bundle_at, net);
8927 sctp_log_cwnd(stcb, net, tsns_sent, SCTP_CWND_LOG_FROM_SEND);
8942 sctp_log_cwnd(stcb, net, *num_out, SCTP_CWND_LOG_FROM_SEND);
9021 struct sctp_nets *net)
9098 chk->whoTo = net;
9110 struct sctp_nets *net)
9119 if (net == NULL)
9120 /* must have a net pointer */
9154 chk->whoTo = net;
9208 sctp_send_shutdown_ack(struct sctp_tcb *stcb, struct sctp_nets *net)
9236 chk->whoTo = net;
9251 sctp_send_shutdown(struct sctp_tcb *stcb, struct sctp_nets *net)
9290 chk->whoTo = net;
9304 chk->whoTo = net;
9316 sctp_send_asconf(struct sctp_tcb *stcb, struct sctp_nets *net, int addr_locked)
9356 chk->whoTo = net;
9375 struct sctp_nets *net = NULL;
9386 net = sctp_find_alternate_net(stcb, stcb->asoc.last_control_chunk_from, 0);
9387 if (net == NULL) {
9391 net = stcb->asoc.alternate;
9393 net = stcb->asoc.primary_destination;
9396 net = stcb->asoc.last_control_chunk_from;
9403 net = stcb->asoc.alternate;
9405 net = stcb->asoc.primary_destination;
9408 net = stcb->asoc.last_control_chunk_from;
9411 latest_ack->last_sent_to = net;
9441 chk->whoTo = net;
9478 struct sctp_nets *net = NULL;
9592 * We don't want to mark the net->sent time here since this
9625 /* No, not sent to this net or not ready for rtx */
9649 /* pick up the net */
9650 net = chk->whoTo;
9651 switch (net->ro._l_addr.sa.sa_family) {
9654 mtu = net->mtu - SCTP_MIN_V4_OVERHEAD;
9659 mtu = net->mtu - SCTP_MIN_OVERHEAD;
9664 mtu = net->mtu;
9698 net->fast_retran_ip = 0;
9704 if (net->flight_size >= net->cwnd) {
9709 * Mark the destination net to have FR recovery
9713 net->fast_retran_ip = 1;
9778 if (fwd->whoTo != net) {
9779 /* Nope, not the net in question */
9839 if (!SCTP_OS_TIMER_PENDING(&net->rxt_timer.timer)) {
9844 sctp_timer_start(SCTP_TIMER_TYPE_SEND, inp, stcb, net);
9856 if ((error = sctp_lowlevel_chunk_output(inp, stcb, net,
9857 (struct sockaddr *)&net->ro._l_addr, m,
9861 net->port, NULL,
9880 * We don't want to mark the net->sent time here
9884 /* (void)SCTP_GETTIME_TIMEVAL(&net->last_sent_time); */
9969 sctp_timer_stop(SCTP_TIMER_TYPE_SEND, inp, stcb, net,
9971 sctp_timer_start(SCTP_TIMER_TYPE_SEND, inp, stcb, net);
9976 sctp_log_cwnd(stcb, net, tsns_sent, SCTP_CWND_LOG_FROM_RESEND);
10005 struct sctp_nets *net;
10008 TAILQ_FOREACH(net, &asoc->nets, sctp_next) {
10009 if (SCTP_OS_TIMER_PENDING(&net->rxt_timer.timer)) {
10045 struct sctp_nets *net;
10170 TAILQ_FOREACH(net, &asoc->nets, sctp_next) {
10171 if ((net->dest_state & SCTP_ADDR_REACHABLE) == 0) {
10179 if (net->ref_count > 1)
10180 sctp_move_chunks_from_net(stcb, net);
10183 * if ((asoc->sat_network) || (net->addr_is_local))
10189 if ((net->flight_size + (asoc->max_burst * net->mtu)) < net->cwnd) {
10195 asoc->cc_functions.sctp_cwnd_update_after_output(stcb, net, asoc->max_burst);
10197 sctp_log_maxburst(stcb, net, 0, asoc->max_burst, SCTP_MAX_BURST_APPLIED);
10201 net->fast_retran_ip = 0;
10203 if (net->flight_size == 0) {
10943 struct sctp_nets *net;
11003 net = stcb->asoc.alternate;
11005 net = stcb->asoc.primary_destination;
11027 if ((error = sctp_lowlevel_chunk_output(stcb->sctp_ep, stcb, net,
11028 (struct sockaddr *)&net->ro._l_addr,
11048 struct sctp_nets *net,
11084 if ((error = sctp_lowlevel_chunk_output(stcb->sctp_ep, stcb, net,
11085 (struct sockaddr *)&net->ro._l_addr,
11089 net->port, NULL,
11373 sctp_send_hb(struct sctp_tcb *stcb, struct sctp_nets *net, int so_locked)
11380 if (net == NULL) {
11384 switch (net->ro._l_addr.sa.sa_family) {
11418 chk->whoTo = net;
11433 hb->heartbeat.hb_info.addr_family = (uint8_t)net->ro._l_addr.sa.sa_family;
11434 hb->heartbeat.hb_info.addr_len = net->ro._l_addr.sa.sa_len;
11435 if (net->dest_state & SCTP_ADDR_UNCONFIRMED) {
11440 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
11441 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = sctp_select_initial_TSN(&stcb->sctp_ep->sctp_ep);
11443 net->heartbeat_random1 = hb->heartbeat.hb_info.random_value1 = 0;
11444 net->heartbeat_random2 = hb->heartbeat.hb_info.random_value2 = 0;
11446 switch (net->ro._l_addr.sa.sa_family) {
11450 &net->ro._l_addr.sin.sin_addr,
11451 sizeof(net->ro._l_addr.sin.sin_addr));
11457 &net->ro._l_addr.sin6.sin6_addr,
11458 sizeof(net->ro._l_addr.sin6.sin6_addr));
11470 net->hb_responded = 0;
11478 sctp_send_ecn_echo(struct sctp_tcb *stcb, struct sctp_nets *net,
11485 if (net == NULL) {
11491 if ((chk->rec.chunk_id.id == SCTP_ECN_ECHO) && (net == chk->whoTo)) {
11528 chk->whoTo = net;
11543 sctp_send_packet_dropped(struct sctp_tcb *stcb, struct sctp_nets *net,
11658 if (net) {
11660 chk->whoTo = net;
11692 sctp_send_cwr(struct sctp_tcb *stcb, struct sctp_nets *net, uint32_t high_tsn, uint8_t override)
11699 if (net == NULL) {
11704 if ((chk->rec.chunk_id.id == SCTP_ECN_CWR) && (net == chk->whoTo)) {
11742 chk->whoTo = net;
12437 struct sctp_nets *net,
12456 SCTP_LTRACE_ERR_RET(NULL, stcb, net, SCTP_FROM_SCTP_OUTPUT, ENOMEM);
12502 sp->net = net;
12503 atomic_add_int(&sp->net->ref_count, 1);
12505 sp->net = NULL;
12578 struct sctp_nets *net;
12602 net = NULL;
12729 stcb = sctp_findassociation_ep_addr(&t_inp, addr, &net, NULL, NULL);
12765 stcb = sctp_findassociation_ep_addr(&t_inp, addr, &net, NULL, NULL);
12768 stcb = sctp_findassociation_cmsgs(&t_inp, port, control, &net, &error);
12990 net = sctp_findnet(stcb, addr);
12992 net = NULL;
12994 if ((net == NULL) ||
13001 net = asoc->alternate;
13003 net = asoc->primary_destination;
13194 sp = sctp_copy_it_in(stcb, asoc, sndrcvninfo, uio, net, max_len, user_marks_eor, &error);
13226 if (sp->net != NULL) {
13227 sctp_free_remote_addr(sp->net);
13228 sp->net = NULL;
13406 if ((net->flight_size > net->cwnd) &&
13412 if (net->flight_size > (2 * net->mtu)) {
13455 * the input via the net is happening
13559 error = sctp_msg_append(stcb, net, top, sndrcvninfo);
13685 if ((net->flight_size > net->cwnd) &&
13691 if (net->flight_size > (2 * net->mtu)) {
13784 SCTP_LTRACE_ERR_RET(inp, stcb, net, SCTP_FROM_SCTP_OUTPUT, error);