summaryrefslogtreecommitdiffstats
path: root/tests/bitvec/bitvec_test.c
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-10-17 15:23:53 +0200
committerHarald Welte <laforge@gnumonks.org>2017-10-24 10:50:07 +0000
commit224a6dda02a2fcf11f70ac25abe9c780167649bf (patch)
tree16327523b7671fe50d4820f77da9bb30327e338b /tests/bitvec/bitvec_test.c
parentf0e392ac2dbb44eb42a242353f392d570b5de8e8 (diff)
gb: optionally allow nsip packets only from a specific host
When listening for nsip connections is enabled, then every remote host may send packets. This is useful for an SGSN that serves multiple PCUs, but contraproductive for a PCU that awaits packets from a single SGSN. Add struct members remote_ip, and remote_port to struct gprs_ns_inst, when set, then the listening end uses connect() to ensure that only the expected host may send packets. Related: OS#2401 Change-Id: Ifeb201d9006eec275a46708007ff342cdfc14e45
Diffstat (limited to 'tests/bitvec/bitvec_test.c')
0 files changed, 0 insertions, 0 deletions