Gregory Nutt
7258f1cbfc
IP forwarding: Move to separate directory. A few fixes from early testing; In TUN driver, do all polling on worker thread. Otherwise, the stack gets very deep.
2017-07-07 18:33:06 -06:00
Gregory Nutt
04716a65a5
IP forwading: Add optional support to forward broadcast and multicast packets.
2017-07-06 07:26:01 -06:00
Gregory Nutt
24e9647156
net/Kconfig: IP forwarding no long depends on only IPv6. Also update Kconfig comments.
2017-07-05 16:35:14 -06:00
Gregory Nutt
c0c275c8fc
IP forwarding. Adds a little more structure to handle passing packets received on one network device to another network device. Logic is still incomplete.
2017-07-04 10:19:52 -06:00
Gregory Nutt
6d8df90b79
Clicker2-STM32 + net/: Add configurations to support the endpoint and hub roles in a star topology. Fix various things that broke when IPv6 forwarding was enabled.
2017-06-29 08:16:46 -06:00
Gregory Nutt
a93f130002
6LoWPAN: Add configurable support for 6LoWPAN star topology. With this change, the endpoints which are the 'points' of the star will forward all traffic to the coordinator. The coordinator is assumed to be the 'hub' of the star. This function also implements IPv6 forwarding. That forwarding implementation is minimal, just enough to support the forwarding requirements of the star hub node.
2017-06-28 15:39:21 -06:00
Gregory Nutt
4588226d71
Clicker2-STM32: Enable networking and 6loWPAN in the mrf24j40-6lowpan configuration. Fix a couple of new 6loWPAN compile issues revealed by this new configuration.
2017-06-16 16:47:27 -06:00
Gregory Nutt
d08b802998
Merge remote-tracking branch 'origin/master' into ieee802154
2017-04-20 16:19:42 -06:00
Gregory Nutt
bfb93338f6
Move net/iob to drivers/iob so that the I/O buffering feature can be available to other drivers when networking is disabled.
2017-04-20 16:08:49 -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
1f394a61b3
6loWPAN: Add option to dump buffers. Fix some issues with calculation of the IEEE802.15.4 header size.
2017-04-04 12:31:22 -06:00
Gregory Nutt
eb446d5261
net/: Permit net/neighbor to build when IPv6 is defined, but not Ethernet. Needs more work to support 6loWPAN. Also included, some minor configuration updates for 6loWPAN.
2017-03-31 11:15:16 -06:00
Gregory Nutt
ad89c88eb3
net/: Fix MULTINIC/MULTILINK selection when 6loWPAN selected.
2017-03-31 10:47:12 -06:00
Jussi Kivilinna
cd3c9634c8
Add user-space networking stack API (usrsock)
...
User-space networking stack API allows user-space daemon to
provide TCP/IP stack implementation for NuttX network.
Main use for this is to allow use and seamless integration of
HW-provided TCP/IP stacks to NuttX.
For example, user-space daemon can translate /dev/usrsock
API requests to HW TCP/IP API requests while rest of the
user-space can access standard socket API, with socket
descriptors that can be used with NuttX system calls.
2017-03-31 08:58:14 -06:00
Gregory Nutt
a522fc4f34
6loWPAN: Rename net/6lowpan to net/sixlowpan; Add Contike sixlowpan.h to include/nuttx/net
2017-03-27 14:53:52 -06:00
Gregory Nutt
7467329a98
Eliminate CONFIG_NO_NOINTS. Lots of files changed -> lots of testing needed.
2016-12-03 16:28:19 -06:00
Gregory Nutt
00beb665f5
net/: Remove references to CONFIG_NET_MULTIBUFFER
2016-11-29 16:12:39 -06:00
Gregory Nutt
0804286ad3
arch/: Add option to use low-priority work queue to all Ethernet drivers in arch that support CONFIG_NET_NOINTS.
2016-11-19 09:20:01 -06:00
Gregory Nutt
936b55f608
drivers/net: Add option to use low-priority work queue to all drivers in drivers/net. Not yet added to all architecture-specific network drivers.
2016-11-18 09:22:49 -06:00
Vladimir Komendantskiy
e5cffc40fc
NET_TUN=y => NET_MULTIBUFFER=y
2016-09-20 13:06:47 -06:00
Gregory Nutt
4f208600aa
Replace confusing references to uIP with just 'the network'
2016-05-30 09:31:44 -06:00
Gregory Nutt
03a77c1d18
Remove most unused references to CONFIG_NET_MULTICAST. Rename other uses of CONFIG_NET_MULTICAST to avoid naming comflicts.
2016-03-20 13:16:17 -06:00
Gregory Nutt
fdddebbffd
net/: Finish IEEE802154->6LOWPAN renaming; remove PF_IEEE804154; Move 6LoWPAN menu to inside Internet Protocol Menu
2016-02-27 07:26:20 -06:00
Gregory Nutt
2f28ca86c2
Clean up some naming; rename net/ieee802154 to net/6lowpan
2016-02-26 10:08:36 -06:00
Gregory Nutt
e4e6181098
net/: IEEE 802.15-4 basic build build structure.
2016-02-25 10:43:51 -06:00
Gregory Nutt
9d8462aa23
net/: Move net_procfs.c to net/procfs/. Partition logic a little better to make space to support net device procfs as well
2015-11-27 13:53:33 -06:00
Gregory Nutt
2a93c66948
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
2015-11-26 12:08:09 -06:00
Gregory Nutt
3bcdb218ff
Networking: Get rid of the tcp_mss macro. It is confusing and only obfuscates what is really going on
2015-08-27 08:39:17 -06:00
Gregory Nutt
79aa3d40b0
Kconfig: CONFIG_NET_MULTILINK and CONFIG_NET_MULTINIC must be support if the loopback device and any real network device are selected
2015-08-25 06:51:15 -06:00
Gregory Nutt
3c5f817513
Networking: Local loopback is basically functional and is no longer EXPERIMENTAL
2015-08-24 13:58:57 -06:00
Gregory Nutt
933d74e5c1
Networking: With these changes, I can ping the local loopback device from the simulator
2015-08-24 13:49:12 -06:00
Gregory Nutt
07bdff9ef7
Networking: Add NetDB support for the local loopback device
2015-08-24 10:08:26 -06:00
Stavros Polymenis
701509f9bd
Add implementations of uname() and gethost(). From Stavros Polymenis.
2015-07-03 07:50:27 -06:00
Gregory Nutt
342f5fe33d
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Gregory Nutt
21d6e41032
Add TUN device. From Max Neklyudov
2015-03-11 06:52:56 -06:00
Gregory Nutt
81a3daca6d
Add basic build structure for Unix domain sockets
2015-01-24 14:03:32 -06:00
Gregory Nutt
51f8e9dbf6
IPv6 is not longer EXPERIMENTAL
2015-01-23 11:43:03 -06:00
Gregory Nutt
eb3c6e8390
Networking: Some fixes for compilation when both IPv4 and IPv6 are enabled
2015-01-18 09:23:22 -06:00
Gregory Nutt
0f364f6ae6
Networking: Move net/ipv6 to net/neighbor
2015-01-16 16:49:48 -06:00
Gregory Nutt
fcd65e9d7d
Networking: Make a home for ICMPv6
2015-01-14 14:26:50 -06:00
Gregory Nutt
7d68c22d7f
Networking: Add support for IPv6 ioctls
2015-01-14 13:03:12 -06:00
Gregory Nutt
babe9cf08e
Network: Add an IPv4 configuration option. Hardcoded to =y for now, but I would like to be able to select IPv4 and/or IPv6 in the future
2015-01-14 10:51:09 -06:00
Gregory Nutt
57bcb28991
changes for clean build with Ethernet+SLIP
2014-11-16 11:27:53 -06:00
Gregory Nutt
38754a3466
Completes basic changes to support per-device/per-link TCP receive window size
2014-11-16 11:15:21 -06:00
Gregory Nutt
859748a94e
Completes conversion of CONFIG_NET_BUFIZE to CONFIG_NET_ETH/SLIP_MTU
2014-11-16 09:22:38 -06:00
Gregory Nutt
51adb90e9a
Network: Update SLIP configuration; Fix compile issues when building SLIP only
2014-11-15 14:36:49 -06:00
Gregory Nutt
2b758537ea
Network: Misc fixes for clean complete with both Ethernet and SLIP enabled
2014-11-15 08:55:50 -06:00
Gregory Nutt
388ef8db1a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
ebdff66c8b
ARP: Add support for the case where there are multiple networks: One being Etherenet and the other not (say slip or perhaps someday PPP). In that case, we need to suppress ARP-related operations on the SLIP/PPP interface only
2014-11-14 18:25:33 -06:00
Gregory Nutt
3451ce2996
Move IPv6 files from net/uip to net/ipv6
2014-06-28 17:42:34 -06:00
Gregory Nutt
64c8dba8c4
NET: Create net/sockets directory and hook into the build/configuration system
2014-06-28 16:41:55 -06:00
Gregory Nutt
1db2614c2a
Add missing source of netdev/Kconfig
2014-06-27 10:13:10 -06:00
Gregory Nutt
f183632aab
Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo
2014-06-27 09:30:41 -06:00
Gregory Nutt
64ba574ecc
Move files to net/utils; make appropriate name changes, most for uip_lock to net_lock
2014-06-26 14:23:21 -06:00
Gregory Nutt
d120befd39
NET: Move routing table functions to net/route
2014-06-26 13:02:08 -06:00
Gregory Nutt
1a2bcebb4a
Clean up some networking configuration menus
2014-06-25 11:01:08 -06:00
Gregory Nutt
8266624d04
Add missing CONFIG_NET_GUARDSIZE to Kconfig
2014-06-19 08:18:46 -06:00
Gregory Nutt
b9c6b9b425
Networking: Move relevant parts of net/Kconfig to tcp/Kconfig, udp/Kconfig, and pkt/Kconfig
2014-06-18 11:45:55 -06:00
Gregory Nutt
bf8f8d3937
Raw sockets: Additional changes for error-free/warning-free compilation
2014-06-12 12:29:58 -06:00
Gregory Nutt
faaf641490
First check-in of Lazlo's PF_PACKET 'raw' socket implementation
2014-06-12 11:52:06 -06:00
Gregory Nutt
1a4c219626
NET: Add generic I/O buffering logic
2014-06-03 12:41:34 -06:00
Gregory Nutt
6a5fdf7fe2
Add CONFIG_NET_ETHERNET (not used yet)
2014-06-01 09:40:23 -06:00
Gregory Nutt
da4277357c
Move arp, icmp, and igmp configuration values into new Kconfig files in those directories
2014-05-30 14:44:07 -06:00
Gregory Nutt
1a2845a4ef
SAM4E-EK: Add an EMAC driver. Initial commit is just a quick port of the SAMA5D3 EMAC driver
2014-03-12 15:03:59 -06:00
Gregory Nutt
d207d5ed4f
Add true and false commands; repartition some logic to better support forthcoming looping
2014-01-17 13:24:44 -06:00
Gregory Nutt
94fb69459b
Some fixes for typos in recent changes to Kconfig files
2014-01-16 16:37:23 -06:00
Gregory Nutt
90974e2b0b
net/Kconfig: Improved default values and comments
2014-01-16 16:08:51 -06:00
Gregory Nutt
826a0116e8
NET: write buffering configuration no longer depends on EXPERIMENTAL
2014-01-15 07:17:59 -06:00
Gregory Nutt
806af1f4e2
When dup'ing sockets, need to clone fields for TCP write buffering too
2014-01-14 15:17:53 -06:00
Gregory Nutt
a4e3fabee6
Changes to correct TCP write buffereing build errors
2014-01-14 09:43:59 -06:00
Gregory Nutt
a9e44cdfe0
The first set of changes to incorporate Jason Jiangs TCP write buffering logic
2014-01-13 17:11:01 -06:00
Gregory Nutt
486314ad05
Add configuration support for TCP Write Buffering
2014-01-13 14:40:21 -06:00
Gregory Nutt
7eef2f9410
Change how TCP read-ahead is selected to better integrate with TCP write buffering
2014-01-13 13:55:51 -06:00
Gregory Nutt
cbb5e4889b
Add support for the SO_LINGER socket option. Based on logic from Jason Jiang. Utestested on initial commit
2014-01-13 11:58:45 -06:00
Gregory Nutt
76764003a5
Add logic to enable DEBUG_NET if NET=n but WL_CC3000=y
2013-10-23 11:48:57 -06:00
Gregory Nutt
63b6d3bde3
Add NSH addroute and delroute commands
2013-10-05 15:42:20 -06:00
Gregory Nutt
0ff3852b2f
Add a user interface to manage the routing table
2013-10-02 10:51:48 -06:00
Gregory Nutt
255a9dcfc2
Simple routing table hooked into network build system
2013-10-01 19:13:06 -06:00
Gregory Nutt
c038f4efe0
Dependency generation fix for directories that keep object files in a sub-directory
2013-09-29 11:46:10 -06:00
Gregory Nutt
41f0c86cad
Optimized sendfile() from Max Holtzberg
2013-09-28 14:47:49 -06:00
Gregory Nutt
72340b85fe
Add support for multiple PHY selections for multiple Ethernet MAC drivers
2013-09-17 10:52:23 -06:00
Gregory Nutt
deaa35987e
Partial implementation of driver-based UDP backlog still missing some logic. From Max Holtzberg.
2013-09-06 09:18:07 -06:00
Gregory Nutt
bc46b447dc
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
patacongo
ebf9960deb
convert Kwikstik K40 configurations to use kconfig-frontends tools
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5784 42af7a65-404d-4744-a932-0658087f49c3
2013-03-25 17:33:41 +00:00
patacongo
82a2cd6155
Add split package logic to improve TCP send performance with delayed ACKs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5538 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 16:40:43 +00:00
patacongo
8a0899a695
STM32 fixes for DM9161 PHY; Enhancements for ADS7843e touchscreen controller
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5199 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 19:26:18 +00:00
patacongo
7a2692df6a
Resync new repository with old repo r5166
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo
a93d7eb69e
Shenzhou board is first to use ONLY Kconfig for configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5114 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 13:56:21 +00:00
patacongo
f39a3c9417
Remove several unused configuration values
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5113 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 04:29:48 +00:00
patacongo
5b268e4dab
Removed delay after receiving in recvfrom(). This was killing network performance
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5107 42af7a65-404d-4744-a932-0658087f49c3
2012-09-07 16:51:53 +00:00
patacongo
ac3fe6a4ba
defconfig changes for LPC17xx Kconfig
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5098 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 20:27:07 +00:00
patacongo
08ef9d0367
Add Kconfig settings for the LPC17xx
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5094 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 17:20:19 +00:00
patacongo
30cd61c07d
Kconfig updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4608 42af7a65-404d-4744-a932-0658087f49c3
2012-04-14 18:01:45 +00:00
patacongo
e45c3b97b3
Kconfig update
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4597 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 21:52:04 +00:00
patacongo
940bdc50fb
Add tools/cmpconfig.c to compare to configuration files
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4592 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 23:06:30 +00:00
patacongo
330b89ca0e
Add kconfig documentation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
4b8c0c41c8
Adding skeleton Kconfig files (part 1 of 2)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00