All of lore.kernel.org
 help / color / mirror / Atom feed
* The new sysctl and socket option added for PLPMTUD (RFC8899)
@ 2021-06-11 20:20 Xin Long
  2021-06-11 20:42 ` tuexen
  0 siblings, 1 reply; 12+ messages in thread
From: Xin Long @ 2021-06-11 20:20 UTC (permalink / raw)
  To: linux-sctp @ vger . kernel . org, Michael Tuexen,
	Marcelo Ricardo Leitner

Hi, Michael,

In the linux implementation of RFC8899, we decided to introduce one
sysctl and one socket option for users to set up the PLPMUTD probe:

1. sysctl -w net.sctp.plpmtud_probe_interval=1

plpmtud_probe_interval - INTEGER
        The interval (in milliseconds) between PLPMTUD probe chunks. These
        chunks are sent at the specified interval with a variable size to
        probe the mtu of a given path between 2 associations. PLPMTUD will
        be disabled when 0 is set.

        Default: 0

2. a socket option that can be used per socket, assoc or transport

/* PLPMTUD Probe Interval socket option */
struct sctp_probeinterval {
        sctp_assoc_t spi_assoc_id;
        struct sockaddr_storage spi_address;
        __u32 spi_interval;
};

#define SCTP_PLPMTUD_PROBE_INTERVAL    133


The value above will enable/disable the PLPMUTD probe by setting up the probe
interval for the timer. When it's 0, the timer will also stop and
PLPMUTD is disabled.
By this way, we don't need to introduce more options.

We're expecting to keep consistent with BSD on this, pls check and
share your thoughts.

Thanks.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-07-19 17:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11 20:20 The new sysctl and socket option added for PLPMTUD (RFC8899) Xin Long
2021-06-11 20:42 ` tuexen
2021-06-12 17:32   ` Xin Long
2021-06-12 21:28     ` tuexen
     [not found]     ` <FEF068AA-C660-4A25-ABFE-D559B1136B58@fh-muenster.de>
2021-07-06  9:12       ` Timo Völker
2021-07-06 16:01         ` Xin Long
2021-07-07 12:36           ` Timo Völker
2021-07-07 16:30             ` Xin Long
2021-07-08 14:18               ` Timo Völker
2021-07-08 15:54                 ` Xin Long
2021-07-12  8:09                   ` Timo Völker
2021-07-19 16:55                     ` Xin Long

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.