Commit Graph

15 Commits

Author SHA1 Message Date
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
cf14f8d1b5 drivers/: Fixes to spacing and alignement 2015-10-10 10:41:00 -06:00
Gregory Nutt
0b12dbf95d Fix some spacing problems 2015-10-04 15:04:00 -06:00
Gregory Nutt
8811681d7f networking: Big performance improvement for local loopback driver 2015-08-27 11:05:53 -06:00
SaeHie Park
a268e0aeb9 Fix a typo from an earlier commit 2015-08-26 18:12:58 -06:00
Gregory Nutt
7a168a791f Networking: Fix loopback device MTU 2015-08-26 10:33:44 -06:00
Gregory Nutt
32de036490 Local loopback: Set the IFF_UP flags during initialization because the local loopback device is always up 2015-08-25 20:09:12 -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
a2c0068011 Fix some IPv6 loopback device problems 2015-08-24 17:27:38 -06:00
Gregory Nutt
3018dc31e5 Network local loopback: Another structural simplication 2015-08-24 16:08:17 -06:00
Gregory Nutt
eea69cf6e3 Networking: Local loopback, fix a error in last commit + fix a bad functional partitioning 2015-08-24 15:23:09 -06:00
Gregory Nutt
4d040d572a Networking: Eliminate recursion from the local loopback driver 2015-08-24 15:16:03 -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
0b012c7978 Fix some initial loop back device compilation errors; mark configuration as EXPERIMENTAL 2015-08-24 11:29:54 -06:00
Gregory Nutt
ccb24e1766 drivers/net: Add a basic prototype for a local loopback device 2015-08-24 11:03:36 -06:00