From: Daniel Wagner <[email protected]> Hi,
These patches here factor out some code from tethering so that the session code can access it. WIP. You need the iptable patches from Tomasz for this here. cheers, daniel Daniel Wagner (6): iptables-test: Parse also netmask for src/dst addresses iptables: Parse also netmask for src/dst addresses bridge: Move bridge code into a seperate file tethering: Use notifier to update default interface. nat: Move nat code into a seperate file test-nat: Add nat unit test Makefile.am | 10 ++- src/connman.h | 14 +++- src/iptables.c | 47 ++++++++-- src/main.c | 2 + src/nat.c | 235 +++++++++++++++++++++++++++++++++++++++++++++++++ src/notifier.c | 5 - src/tethering.c | 215 ++++----------------------------------------- tools/iptables-test.c | 48 ++++++++-- unit/test-nat.c | 126 ++++++++++++++++++++++++++ 9 files changed, 479 insertions(+), 223 deletions(-) create mode 100644 src/nat.c create mode 100644 unit/test-nat.c -- 1.7.9.48.g85da4d _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
