diff options
author | Harald Welte <laforge@osmocom.org> | 2020-11-29 17:38:48 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-11-30 13:30:14 +0000 |
commit | a24e7ee3bdab24cdc5b6b7af69d49bf47233fbf9 (patch) | |
tree | f9b006637e6520b0c9269387482894e61940621d /src/gb/gprs_ns2.c | |
parent | b6b82da56ce65cb075bdb6260ddb958476bf805a (diff) |
gprs_ns2: Introduce gprs_ns2_lltype_str() for link layer name
Change-Id: I4b257c09d9d3c97d6da04240c7a74a95c7c93675
Diffstat (limited to 'src/gb/gprs_ns2.c')
-rw-r--r-- | src/gb/gprs_ns2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c index 470027ad..30716fc3 100644 --- a/src/gb/gprs_ns2.c +++ b/src/gb/gprs_ns2.c @@ -211,6 +211,13 @@ const struct value_string gprs_ns2_prim_strs[] = { { 0, NULL } }; +const struct value_string gprs_ns2_lltype_strs[] = { + { GPRS_NS2_LL_UDP, "UDP" }, + { GPRS_NS2_LL_FR_GRE, "FR_GRE" }, + { GPRS_NS2_LL_FR, "FR" }, + { 0, NULL } +}; + /*! string-format a given NS-VC into a user-supplied buffer. * \param[in] buf user-allocated output buffer * \param[in] buf_len size of user-allocated output buffer in bytes |