diff options
| author | Jonas Bonn <[email protected]> | 2017-03-24 23:23:21 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-03-25 20:11:19 -0700 |
| commit | 91ed81f9abc76d5a61b07cb8286c680c9330b7a1 (patch) | |
| tree | 73165e856fe64a2bf64a20fc256b8161b3a66f3e /tools/perf/scripts/python/stackcollapse.py | |
| parent | ae6336b57ede8cdf801b04e6d943617bb945e3f9 (diff) | |
gtp: support SGSN-side tunnels
The GTP-tunnel driver is explicitly GGSN-side as it searches for PDP
contexts based on the incoming packets _destination_ address. If we
want to place ourselves on the SGSN side of the tunnel, then we want
to be identifying PDP contexts based on _source_ address.
Let it be noted that in a "real" configuration this module would never
be used: the SGSN normally does not see IP packets as input. The
justification for this functionality is for PGW load-testing applications
where the input to the SGSN is locally generally IP traffic.
This patch adds a "role" argument at GTP-link creation time to specify
whether we are on the GGSN or SGSN side of the tunnel; this flag is then
used to determine which part of the IP packet to use in determining
the PDP context.
Signed-off-by: Jonas Bonn <[email protected]>
Acked-by: Pablo Neira Ayuso <[email protected]>
Acked-by: Harald Welte <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions