diff options
Diffstat (limited to 'gtp/pdp.h')
-rw-r--r-- | gtp/pdp.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -17,6 +17,7 @@ #include <netinet/in.h> #include <osmocom/core/defs.h> +#include <osmocom/core/linuxlist.h> struct gsn_t; @@ -241,6 +242,8 @@ struct pdp_t { struct gsn_t *gsn; /* Back pointer to GSN where this pdp ctx belongs to */ bool tx_gpdu_seq; /* Transmit (true) or suppress G-PDU sequence numbers */ + + struct llist_head qmsg_list_req; /* list of req qmsg_t in retrans queue belonging this pdp ctx */ }; /* functions related to pdp_t management */ @@ -260,7 +263,7 @@ int pdp_tiddel(struct pdp_t *pdp); uint64_t pdp_gettid(uint64_t imsi, uint8_t nsapi); void pdp_set_imsi_nsapi(struct pdp_t *pdp, uint64_t teid); -unsigned int pdp_count_secondary(struct pdp_t *pdp); +unsigned int pdp_count_secondary(const struct pdp_t *pdp); /* Deprecated APIs (support for only 1 GSN per process). Must be used only after first call to gtp_new() and until it is freed. */ int pdp_init(struct gsn_t *gsn); /* Use only allowed inside libgtp to keep compatiblity with deprecated APIs defined here. */ |