From: Glenn Schmottlach <[email protected]> This patchset adds support for Linux USB Gadget devices so that they are treated similarly to Ethernet devices by Connman. Until this point they could not be assigned an IP address since it was assumed an external device was being tethered to the target over this interface. This patchset reverses (but does not preclude the original use-case) so that the target can now be tethered to another host via the Linux Gadget (USB "device") interface. The USB host provides the bridge to the WAN instead of vice-versa.
Glenn Schmottlach (2): Refactor Gadget into separate plugin and file. Enhance Gadget with Ethernet-like features. Makefile.plugins | 5 + README | 8 ++ configure.ac | 5 + include/network.h | 1 + plugins/ethernet.c | 231 +++++++---------------------------- plugins/gadget.c | 349 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/config.c | 20 ++- src/main.c | 1 + src/network.c | 7 ++ src/notifier.c | 4 +- src/service.c | 25 ++-- src/session.c | 15 ++- src/wispr.c | 2 +- 13 files changed, 466 insertions(+), 207 deletions(-) create mode 100644 plugins/gadget.c -- 1.8.5.2 _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
