Home
last modified time | relevance | path

Searched refs:pathmtu (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/net/sctp/
Dtransport.c231 transport->pathmtu = dst_mtu(transport->dst); in sctp_transport_pmtu()
233 transport->pathmtu = SCTP_DEFAULT_MAXSEGMENT; in sctp_transport_pmtu()
247 t->pathmtu = SCTP_DEFAULT_MINSEGMENT; in sctp_transport_update_pmtu()
249 t->pathmtu = pmtu; in sctp_transport_update_pmtu()
281 if ((transport->param_flags & SPP_PMTUD_DISABLE) && transport->pathmtu) { in sctp_transport_route()
285 transport->pathmtu = dst_mtu(transport->dst); in sctp_transport_route()
295 transport->pathmtu = SCTP_DEFAULT_MAXSEGMENT; in sctp_transport_route()
405 pmtu = transport->asoc->pathmtu; in sctp_transport_raise_cwnd()
484 4*asoc->pathmtu); in sctp_transport_lower_cwnd()
485 transport->cwnd = asoc->pathmtu; in sctp_transport_lower_cwnd()
[all …]
Dassociola.c120 asoc->pathmtu = sp->pathmtu; in sctp_association_init()
641 if (asoc->pathmtu) in sctp_assoc_add_peer()
642 peer->pathmtu = asoc->pathmtu; in sctp_assoc_add_peer()
644 peer->pathmtu = SCTP_DEFAULT_MAXSEGMENT; in sctp_assoc_add_peer()
652 if (asoc->pathmtu) in sctp_assoc_add_peer()
653 asoc->pathmtu = min_t(int, peer->pathmtu, asoc->pathmtu); in sctp_assoc_add_peer()
655 asoc->pathmtu = peer->pathmtu; in sctp_assoc_add_peer()
658 asoc->pathmtu); in sctp_assoc_add_peer()
662 asoc->frag_point = sctp_frag_point(asoc, asoc->pathmtu); in sctp_assoc_add_peer()
680 peer->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); in sctp_assoc_add_peer()
[all …]
Dprobe.c160 asoc->pathmtu, asoc->peer.rwnd, asoc->unack_data); in jsctp_sf_eat_sack()
170 sp->pathmtu); in jsctp_sf_eat_sack()
Doutput.c708 if (chunk->skb->len + q->out_qlen >= transport->pathmtu - packet->overhead) in sctp_packet_can_append_data()
760 (packet->transport->asoc->pathmtu) : in sctp_packet_will_fit()
761 (packet->transport->pathmtu)); in sctp_packet_will_fit()
Dchunk.c198 max_data = (asoc->pathmtu - in sctp_datamsg_from_user()
Dsocket.c590 trans->cwnd = min(4*asoc->pathmtu, max_t(__u32, in sctp_send_asconf_add_ip()
591 2*asoc->pathmtu, 4380)); in sctp_send_asconf_add_ip()
2415 trans->pathmtu = params->spp_pathmtu; in sctp_apply_peer_addr_params()
2418 asoc->pathmtu = params->spp_pathmtu; in sctp_apply_peer_addr_params()
2421 sp->pathmtu = params->spp_pathmtu; in sctp_apply_peer_addr_params()
3105 val = asoc->pathmtu; in sctp_setsockopt_maxseg()
3111 asoc->frag_point = sctp_frag_point(asoc, asoc->pathmtu); in sctp_setsockopt_maxseg()
4057 sp->pathmtu = 0; /* allow default discovery */ in sctp_init_sock()
4263 status.sstat_primary.spinfo_mtu = transport->pathmtu; in sctp_getsockopt_sctp_status()
4323 pinfo.spinfo_mtu = transport->pathmtu; in sctp_getsockopt_peer_addr_info()
[all …]
Dinput.c392 if (!t || (t->pathmtu <= pmtu)) in sctp_icmp_frag_needed()
Dsm_make_chunk.c1232 size_t size = asoc ? asoc->pathmtu : 0; in sctp_make_op_error_fixed()
/linux-4.4.14/include/net/sctp/
Dstructs.h196 __u32 pathmtu; member
869 __u32 pathmtu; member
1593 __u32 pathmtu; member