* On TCP_CONGESTION & letter case
@ 2023-11-19 18:36 rjmcmahon
2023-11-19 19:37 ` Cong Wang
2023-11-20 17:35 ` Stephen Hemminger
0 siblings, 2 replies; 3+ messages in thread
From: rjmcmahon @ 2023-11-19 18:36 UTC (permalink / raw)
To: Netdev
Hi all,
Will the CCA string in setsockopt and getsockopt for TCP_CONGESTION
always be lowercase?
Sorry if this question has been asked and answered somewhere else.
Thanks,
Bob
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: On TCP_CONGESTION & letter case
2023-11-19 18:36 On TCP_CONGESTION & letter case rjmcmahon
@ 2023-11-19 19:37 ` Cong Wang
2023-11-20 17:35 ` Stephen Hemminger
1 sibling, 0 replies; 3+ messages in thread
From: Cong Wang @ 2023-11-19 19:37 UTC (permalink / raw)
To: rjmcmahon; +Cc: Netdev
On Sun, Nov 19, 2023 at 10:36:03AM -0800, rjmcmahon wrote:
> Hi all,
>
> Will the CCA string in setsockopt and getsockopt for TCP_CONGESTION always
> be lowercase?
>
I am not aware of any such guarantee. From kernel's point of view, it is just
a simple string search in /proc/sys/net/ipv4/tcp_available_congestion_control,
so in the future we may add CCA with upper cases. And, since CCA can be
a kernel module, _maybe_ there are already OOT modules using upper case
names.
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: On TCP_CONGESTION & letter case
2023-11-19 18:36 On TCP_CONGESTION & letter case rjmcmahon
2023-11-19 19:37 ` Cong Wang
@ 2023-11-20 17:35 ` Stephen Hemminger
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2023-11-20 17:35 UTC (permalink / raw)
To: rjmcmahon; +Cc: Netdev
On Sun, 19 Nov 2023 10:36:03 -0800
rjmcmahon <rjmcmahon@rjmcmahon.com> wrote:
> Hi all,
>
> Will the CCA string in setsockopt and getsockopt for TCP_CONGESTION
> always be lowercase?
>
> Sorry if this question has been asked and answered somewhere else.
>
> Thanks,
> Bob
>
The convention has to always use lower case since this is what is
used by many other places, filesystem types, queue disciplines, etc.
In theory, mixed UglyCamelCase is possible but would end up being
bike shedded during review process.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-20 17:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-19 18:36 On TCP_CONGESTION & letter case rjmcmahon
2023-11-19 19:37 ` Cong Wang
2023-11-20 17:35 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox