Project

General

Profile

Actions

Feature #2873

closed

pdpa global array to be moved to gsn_t

Added by pespin over 6 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/25/2018
Due date:
% Done:

100%

Spec Reference:

Description

In pdp.c:

/* ***********************************************************
 * Global variables TODO: most should be moved to gsn_t
 *************************************************************/

static struct pdp_t pdpa[PDP_MAX];    /* PDP storage */
static struct pdp_t *hashtid[PDP_MAX];    /* Hash table for IMSI + NSAPI */

Then APIs in the same file (pdp_init, pdp_newpdp, pdp_getgtp0, etc.) should be updated to receive a point to pdpa as first parameter.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)