X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/14b5913c9e30978620dbb6f2b85651e8bf7147e9..53a4a6fdcc52280765216ff019cf77b85ec48c18:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index 5c33047..284ae7a 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -244,12 +244,15 @@ struct config { /** @brief RTP buffer maximum size */ long rtp_maxbuffer; - /* @brief RTP receive buffer size */ + /** @brief RTP receive buffer size */ long rtp_rcvbuf; /** @brief Fixed RTP listening address */ struct netaddress rtp_request_address; + /** @brief @c disorder-playrtp instance name (for naming sockets etc.) */ + char *rtp_instance_name; + /** @brief Verbose RTP transmission logging */ int rtp_verbose; @@ -259,6 +262,25 @@ struct config { /** @brief Whether to loop back multicast packets */ int multicast_loop; + /** @brief Maximum size of RTP payload to send + * + * This is the maximum number of bytes we pass to write(2); to determine + * actual packet sizes, add a UDP header and an IP header (and a link layer + * header if it's the link layer size you care about). + * + * Don't make this too big or arithmetic will start to overflow. + */ + long rtp_max_payload; + + /** @brief Whether to allow MTU discovery + * + * This is `yes' to force it on, `no' to force it off, or `default' to do + * whatever the system is configured to do. Note that this only has a + * useful effect in IPv4, since IPv6 doesn't permit hop-by-hop + * fragmentation. + */ + char *rtp_mtu_discovery; + /** @brief Login lifetime in seconds */ long cookie_login_lifetime;