Hello. On 21/11/16 21:34, Stefan Schmidt wrote:
Hello. Needed for a long time, we have here a set of example demonstrating three types of socket usage example for the Linux-wpan stack. Covering RX as well as TX side for AF_INET6 to show case our 6LoWPAN implementation. For plain IEEE 802.15.4 usage we demonstrate the AF_IEEE802154 socket and for some more specialized use cases AF_PACKET with and example of a constructed frame send from userspace. Stefan Schmidt (8): examples: add README with details to the various examples examples: af_ieee802154_tx example examples: af_ieee802154_rx example examples: add af_packet_rx example examples: af_inet6_rx example examples: af_packet_tx example examples: af_inet6_tx example examples: add .gitignore file for examples directory Makefile.am | 3 +- configure.ac | 1 + examples/.gitignore | 7 +++ examples/Makefile.am | 8 ++++ examples/README.examples | 34 ++++++++++++++ examples/af_ieee802154_rx.c | 111 ++++++++++++++++++++++++++++++++++++++++++++ examples/af_ieee802154_tx.c | 95 +++++++++++++++++++++++++++++++++++++ examples/af_inet6_rx.c | 80 +++++++++++++++++++++++++++++++ examples/af_inet6_tx.c | 75 ++++++++++++++++++++++++++++++ examples/af_packet_rx.c | 95 +++++++++++++++++++++++++++++++++++++ examples/af_packet_tx.c | 109 +++++++++++++++++++++++++++++++++++++++++++ 11 files changed, 617 insertions(+), 1 deletion(-) create mode 100644 examples/.gitignore create mode 100644 examples/Makefile.am create mode 100644 examples/README.examples create mode 100644 examples/af_ieee802154_rx.c create mode 100644 examples/af_ieee802154_tx.c create mode 100644 examples/af_inet6_rx.c create mode 100644 examples/af_inet6_tx.c create mode 100644 examples/af_packet_rx.c create mode 100644 examples/af_packet_tx.c
This series has been pushed to wpan-tools master. regards Stefan Schmidt -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html