diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2024-01-26 16:12:08 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2024-01-26 16:12:08 +0100 |
commit | 8d976444b816c1ed5a149df9e5b5a99dd2f04463 (patch) | |
tree | 6094e058228913f170a6f13aa5ff28c041178642 | |
parent | 77734ac81b1c0ff6ac421680ae998f2b0a13a7d6 (diff) |
pco: Improve IPCP spec reference documentation
Change-Id: I1dd4a41bae491c61197e8e307efcfc8c63945a71
-rw-r--r-- | ggsn/pco.c | 1 | ||||
-rw-r--r-- | ggsn/pco.h | 9 |
2 files changed, 5 insertions, 5 deletions
@@ -110,6 +110,7 @@ ret_broken: osmo_hexdump_nospc((const uint8_t *)pco_in, pco_in->length)); } +/* Handle IP Control Protocol, RFC 1332, extensions in RFC 1877 */ static void process_pco_element_ipcp(const struct pco_element *pco_elem, struct msgb *resp, const struct apn_ctx *apn, struct pdp_t *pdp) { @@ -42,12 +42,11 @@ struct pco_element { uint8_t data[0]; } __attribute__((packed)); - -/* RFC 1332 */ +/* RFC 1332 IP Control Protocol options, extensions in RFC 1877 */ enum ipcp_options { - IPCP_OPT_IPADDR = 3, - IPCP_OPT_PRIMARY_DNS = 129, - IPCP_OPT_SECONDARY_DNS = 131, + IPCP_OPT_IPADDR = 3, /* RFC 1332 3.3 */ + IPCP_OPT_PRIMARY_DNS = 129, /* RFC 1877 1.1 */ + IPCP_OPT_SECONDARY_DNS = 131, /* RFC 1877 1.2 */ }; struct ipcp_option_hdr { |