Home
last modified time | relevance | path

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

/linux-6.12.1/include/trace/events/
Dsctp.h27 __field(__u32, pathmtu)
39 __entry->pathmtu = sp->pathmtu;
47 __entry->partial_bytes_acked, __entry->pathmtu)
63 __field(__u32, pathmtu)
75 __entry->pathmtu = asoc->pathmtu;
83 __entry->peer_port, __entry->pathmtu, __entry->rwnd,
/linux-6.12.1/net/sctp/
Dtransport.c250 if (!transport->pathmtu && asoc && asoc->pathmtu) in sctp_transport_pmtu()
251 transport->pathmtu = asoc->pathmtu; in sctp_transport_pmtu()
252 if (transport->pathmtu) in sctp_transport_pmtu()
257 transport->pathmtu = sctp_dst_mtu(transport->dst); in sctp_transport_pmtu()
259 transport->pathmtu = SCTP_DEFAULT_MAXSEGMENT; in sctp_transport_pmtu()
275 t->pathmtu = t->pl.pmtu + sctp_transport_pl_hlen(t); in sctp_transport_pl_send()
285 t->pathmtu = t->pl.pmtu + sctp_transport_pl_hlen(t); in sctp_transport_pl_send()
297 t->pathmtu = t->pl.pmtu + sctp_transport_pl_hlen(t); in sctp_transport_pl_send()
322 t->pathmtu = t->pl.pmtu + sctp_transport_pl_hlen(t); in sctp_transport_pl_recv()
340 t->pathmtu = t->pl.pmtu + sctp_transport_pl_hlen(t); in sctp_transport_pl_recv()
[all …]
Dassociola.c235 asoc->pathmtu = sp->pathmtu; in sctp_association_init()
669 sctp_assoc_set_pmtu(asoc, asoc->pathmtu ? in sctp_assoc_add_peer()
670 min_t(int, peer->pathmtu, asoc->pathmtu) : in sctp_assoc_add_peer()
671 peer->pathmtu); in sctp_assoc_add_peer()
691 peer->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); in sctp_assoc_add_peer()
1399 int frag = sctp_mtu_payload(sctp_sk(asoc->base.sk), asoc->pathmtu, in sctp_assoc_update_frag_point()
1413 if (asoc->pathmtu != pmtu) { in sctp_assoc_set_pmtu()
1414 asoc->pathmtu = pmtu; in sctp_assoc_set_pmtu()
1419 asoc->pathmtu, asoc->frag_point); in sctp_assoc_set_pmtu()
1440 if (!pmtu || (t->pathmtu < pmtu)) in sctp_assoc_sync_pmtu()
[all …]
Doutput.c89 packet->max_size = tp->pathmtu; in sctp_packet_config()
139 : asoc->pathmtu; in sctp_packet_config()
466 tp->pathmtu) in sctp_packet_pack()
468 else if (pkt_size + padded > tp->pathmtu) in sctp_packet_pack()
585 if (packet->size > tp->pathmtu && !packet->ipfragok && !chunk->pmtu_probe) { in sctp_packet_transmit()
742 if (chunk->skb->len + q->out_qlen > transport->pathmtu - in sctp_packet_can_append_data()
800 pmtu = packet->transport->asoc->pathmtu; in sctp_packet_will_fit()
802 pmtu = packet->transport->pathmtu; in sctp_packet_will_fit()
Dsocket.c645 trans->cwnd = min(4*asoc->pathmtu, max_t(__u32, in sctp_send_asconf_add_ip()
646 2*asoc->pathmtu, 4380)); in sctp_send_asconf_add_ip()
2491 trans->pathmtu = params->spp_pathmtu; in sctp_apply_peer_addr_params()
2496 sp->pathmtu = params->spp_pathmtu; in sctp_apply_peer_addr_params()
5031 sp->pathmtu = 0; /* allow default discovery */ in sctp_init_sock()
5462 status.sstat_primary.spinfo_mtu = transport->pathmtu; in sctp_getsockopt_sctp_status()
5530 pinfo.spinfo_mtu = transport->pathmtu; in sctp_getsockopt_peer_addr_info()
5961 params.spp_pathmtu = trans->pathmtu; in sctp_getsockopt_peer_addr_params()
5979 params.spp_pathmtu = asoc->pathmtu; in sctp_getsockopt_peer_addr_params()
5997 params.spp_pathmtu = sp->pathmtu; in sctp_getsockopt_peer_addr_params()
Dinput.c376 (t->pathmtu <= pmtu && in sctp_icmp_frag_needed()
Dsm_make_chunk.c1296 size = min_t(size_t, size, asoc->pathmtu); in sctp_make_op_error_limited()
/linux-6.12.1/include/net/sctp/
Dsctp.h608 if (t->pathmtu == pmtu) in sctp_transport_pmtu_check()
611 t->pathmtu = pmtu; in sctp_transport_pmtu_check()
Dstructs.h195 __u32 pathmtu; member
904 __u32 pathmtu; member
1832 __u32 pathmtu; member