cosmetic: rename g_upf->gtp to tunend, ->nft to tunmap

Upcoming patch I8eae5b53c563400ddfded264678d9cfb28b6f737 will introduce
a g_upf->gtp sub struct for more generally GTP related things (local
TEID assignment).

Change-Id: I74df838af50f38604e2ff06cac0af11ccfdab386
This commit is contained in:
Neels Janosch Hofmeyr
2023-02-10 22:40:03 +01:00
parent 0a87f42f10
commit 1961cf90b5
7 changed files with 63 additions and 63 deletions

View File

@@ -68,7 +68,7 @@ struct tunend_vty_cfg_dev {
struct tunend_vty_cfg {
/* list of struct tunend_vty_cfg_dev, GTP devices as in the config file. The actual GTP devices in use are in
* g_upf->gtp.devs. */
* g_upf->tunend.devs. */
struct llist_head devs;
};
@@ -101,7 +101,7 @@ struct g_upf {
int32_t genl_id;
uint8_t recovery_count;
} gtp;
} tunend;
/* Tunnel forwarding via linux netfilter */
struct {
@@ -113,7 +113,7 @@ struct g_upf {
int priority_pre;
int priority_post;
uint32_t next_chain_id_state;
} nft;
} tunmap;
struct llist_head netinst;
};