Attention is currently required from: fixeria, laforge, osmith.
pespin has posted comments on this change by pespin. (
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457?usp=email )
Change subject: ggsn: Support announcing APN MTU over PCO
......................................................................
Patch Set 4:
(4 comments)
File ggsn/ggsn.h:
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457/comment/e4591f7e_4f4da016?us… :
PS4, Line 36: #define IPV6_HDR_MAX_SIZE 40 /* Assume no extension headers in general...
*/
IPV6_HDR_MAX_SIZE < IPV4_HDR_MAX_SIZE, is this
correct?
Yes because we assume no extension headers used by ipv6, while we account
for maximum number of extension headers for ipv4.
File ggsn/ggsn_vty.c:
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457/comment/bdfe5efe_40d5d22f?us… :
PS4, Line 425: "mtu (<0-1464>|default)",
maybe use MAX_POSSIBLE_APN_MTU instead of 1464 here?
It cannot be done, I already tried once. The preprocessor puts there the expression,
not the result, hence not a number.
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457/comment/bf4f1435_19dbf5d1?us… :
PS4, Line 428: "Default value of the MTU of the APN (1420)")
maybe use MAX_DESIRED_APN_MTU instead of 1420 here?
It cannot be done, I already tried once. The preprocessor puts there the expression,
not the result, hence not a number.
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457/comment/6f1ad165_7addd094?us… :
PS4, Line 708: vty_out(vty, " mtu %" PRIu16 "%s", apn->cfg.mtu,
VTY_NEWLINE);
skip if == default?
I'd rather keep it like
this, I think it's actually a good idea to always print it, the default is not obvious
at all and may need some tweaking sometimes...
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ggsn/+/38457?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I8532acfffadda9e83962b30e4f6b17eb8b3362ac
Gerrit-Change-Number: 38457
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 21 Oct 2024 12:00:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>