Project

General

Profile

Feature #2873

pdpa global array to be moved to gsn_t

Added by pespin 7 months ago.

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

0%

Estimated time:
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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)