Commit Graph

143 Commits

Author SHA1 Message Date
Gregory Nutt
7fb1cb36f2 Networking routing tables: Fix a compilation error when IPv6 and routing are enabled. 2017-07-08 11:58:19 -06:00
Gregory Nutt
99ef7c6669 IP forwarding: A few fixes from early testing; In TUN driver, do all polling on worker thread. Otherwise, the stack gets very deep. 2017-07-07 17:33:44 -06:00
Gregory Nutt
b29c99fa6f Move TUN ioctl commnd to include/nuttx/net/ioctl.h so that it will always be unique. It a error in netdev_register: it was not handling device names properly when TUN is the only network device. 2017-07-07 13:03:04 -06:00
Gregory Nutt
b4a0ac53a8 Networking: Improve naming and simplify some logic of previous commit. 2017-07-07 06:51:52 -06:00
Gregory Nutt
70c6b52132 ICMPv6: Fix an address size calculation that was bungled in a recent commit. 2017-07-06 19:37:01 -06:00
Gregory Nutt
d280f8854e include/nuttx/net and net/: Move private prototype of netdev_foreach() from the public include/nuttx/net/net.h to the private net/netdev/ndetdev.h header file where it belongs. 2017-07-01 08:39:39 -06:00
Gregory Nutt
cfea8adacb L should be capitalized in 6LoWPAN 2017-06-18 16:00:08 -06:00
Sebastien Lorquet
c9dc1d928d network IOCTL commands: The only place in net/netdev/netdev_ioctl.c where the interface state should change is for SIOCSIFFLAGS. the other ones .. SIOCSIFADDR, SIOSLIFADDR, SIODIFADDR .. should not change the link state. 2017-05-19 10:04:57 -06:00
Gregory Nutt
0de294a586 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
Anthony Merlino
dd40014279 wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and MAC closer with well-defined interface. 2017-05-05 11:15:38 -04:00
Gregory Nutt
969c1ab614 6loWPAN: Replace some Rime address naming with more consistent short/exended address terminology 2017-05-04 08:20:59 -06:00
Gregory Nutt
6a45afdd75 Merge remote-tracking branch 'origin/master' into ieee802154 2017-05-04 07:11:19 -06:00
Simon Piriou
6680eb0e0c netdev: fix compilation errors 2017-04-28 19:39:14 +02:00
Gregory Nutt
381842be5c Merge remote-tracking branch 'origin/master' into photon 2017-04-26 12:33:09 -06:00
Gregory Nutt
9182fb95d5 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-26 12:31:47 -06:00
Gregory Nutt
1cdc90914e network IOCTLs: Correct a compilation error when wireless IOCTLs are enabled. 2017-04-26 12:31:13 -06:00
Gregory Nutt
1c97025484 netdev_register: If there is only one ieee80211 and both CONFIG_ETHERNET and CONFIG_DRIVERS_IEEE8011, then use the wlan0 naming, not the eth0 naming. 2017-04-25 15:51:30 -06:00
Gregory Nutt
0ea071f7eb Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-22 11:58:07 -06:00
Gregory Nutt
7da031aea1 6loWPAN: Add IEEE802.15.4 Rime address to union of link layer addresses in the network driver. 2017-04-22 11:52:45 -06:00
Gregory Nutt
79256573e1 net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment. 2017-04-22 11:10:30 -06:00
Gregory Nutt
1ba7aa9935 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 18:49:38 -06:00
Gregory Nutt
0184bf6787 Correct type in a cast 2017-04-21 18:42:13 -06:00
Gregory Nutt
e66caaf960 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 18:40:47 -06:00
Gregory Nutt
d884958a2e Back out most of ebf05cb9f5 2017-04-21 18:37:07 -06:00
Gregory Nutt
7c6f2c3c9a Back out most of ebf05cb9f5 2017-04-21 18:31:05 -06:00
Gregory Nutt
309f0abc14 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 16:34:10 -06:00
Gregory Nutt
d5207efb5a Be consistent... Use Name: consistent in function headers vs Function: 2017-04-21 16:33:14 -06:00
Gregory Nutt
5d68eb6059 6loWPAN: Remove the PAN ID from the 6loWPAN data structure. This is owned by the radio driver. Rather, use an IOCTL to obtain the PAN ID from the downstream radio driver. 2017-04-21 16:23:40 -06:00
Gregory Nutt
be415489f2 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-21 14:18:41 -06:00
Gregory Nutt
2c4800f511 Remove the 6loWPAN PANID IOCTLs they are redundant. 2017-04-21 14:17:46 -06:00
Gregory Nutt
9ff5e83ea7 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-19 18:07:33 -06:00
Gregory Nutt
9281cd558e 6loWPAN: Add an IOCTL to set the IEEE802.15.4 PAN ID 2017-04-19 18:06:43 -06:00
Gregory Nutt
4729e3c7a3 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-15 10:31:19 -06:00
Gregory Nutt
ebf05cb9f5 network IOCTL: Clean up some naming and spacing. 2017-04-15 10:29:37 -06:00
Gregory Nutt
54939d4616 network IOCTLs: Some corrections and updates to a previous commit 2017-04-15 10:23:29 -06:00
Gregory Nutt
85d97a4d74 Merge remote-tracking branch 'origin/master' into ieee802154 2017-04-15 09:34:03 -06:00
Gregory Nutt
78bc1aa6bc Argument of network device IOCTL should be unsigned long, just as will all other IOCTL methods. 2017-04-15 09:33:27 -06:00
Gregory Nutt
2576f2b2b1 net/: Add IOCTL support for forwarding IEEE802.15.4 MAC and PHY IOCTLs. 2017-04-15 09:11:52 -06:00
Gregory Nutt
eee89102d8 networking: IPv4 change of last PR should also be applied to corresponding IPv6 logic. 2017-04-15 06:00:42 -06:00
ahb
6d18300f98 not a clean fix, but at least makes DHCP working with CONFIG_NETDEV_MULTINIC 2017-04-15 11:13:24 +02:00
Gregory Nutt
ad9321b7b7 Trivial changes from review of last PR 2017-04-13 06:16:03 -06:00
Thomas Keh
7e293b28ee TUN driver: Implement TAP (OSI layer 2) mode.
Enable by setting the IFF_TAP flag instead of the IFF_TUN flag in ifr_flags.
2017-04-13 13:07:03 +02:00
Mark Schulte
35ca733108 pthread.h: Fix rwlock initializer 2017-04-08 12:34:08 -06:00
Gregory Nutt
27c65c3f22 6loWPAN: Add network IOCTL support to set the node address 2017-04-06 15:58:00 -06:00
Gregory Nutt
1a12682f23 6loWPAN: Fix some MTU-related craziness. 2017-03-30 17:18:18 -06:00
Gregory Nutt
5fb222180c 6loWPAN: IEEE802.15.4 MAC driver will need a special form of the network device structure to manage fragmentation of the large packet into frames. 2017-03-29 10:17:34 -06:00
Gregory Nutt
64933246c3 6loWPAN: Tie 6loWPAN send into common socket send logic. 2017-03-28 14:08:54 -06:00
Gregory Nutt
d9e32ee337 6loWPAN: More configurtion settings. 2017-03-28 11:16:28 -06:00
Gregory Nutt
aad82bcd9f Cosmetic change 2017-03-13 18:01:21 -06:00
Gregory Nutt
888cff30dc Fix some errors in the previous commit 2017-03-13 10:14:38 -06:00