diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-05-03 21:08:35 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2023-05-04 12:03:52 +0200 |
commit | 00fd8d237be3323e0f36f7d39b4530577d5f426a (patch) | |
tree | 0ed2ba75f7521194b178ed325c36104b8c97cc44 /src/host/layer23/include/osmocom/bb/common | |
parent | bbfb569b8ec650060c97d64c5063cd35e851e4d5 (diff) |
layer23: Store and use SAPI & NSAPI in apn->pdp
Change-Id: If82c94ca9c84a94e63a9a5d642a27a7b4e3ff089
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r-- | src/host/layer23/include/osmocom/bb/common/apn.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/apn.h b/src/host/layer23/include/osmocom/bb/common/apn.h index 538b31dd..c4495301 100644 --- a/src/host/layer23/include/osmocom/bb/common/apn.h +++ b/src/host/layer23/include/osmocom/bb/common/apn.h @@ -28,6 +28,11 @@ struct osmocom_ms; #define APN_TYPE_IPv6 0x02 /* v6-only */ #define APN_TYPE_IPv4v6 0x04 /* v4v6 dual-stack */ +struct osmobb_pdp_ctx { + uint8_t nsapi; + uint8_t llc_sapi; +}; + struct osmobb_apn { /* list of APNs inside MS */ struct llist_head list; @@ -52,6 +57,7 @@ struct osmobb_apn { } cfg; struct osmo_tundev *tun; struct apn_fsm_ctx fsm; + struct osmobb_pdp_ctx pdp; }; struct osmobb_apn *apn_alloc(struct osmocom_ms *ms, const char *name); |