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
0dd273935a
Standardize naming of all SLIP configuration options
2015-08-06 15:08:15 -06:00
Gregory Nutt
86769101a1
SLIP: Review code, update comments, add missing configuration items
2015-08-06 14:32:12 -06:00
Gregory Nutt
e1c902d468
Remove some incorrect comments
2015-08-06 14:06:43 -06:00
Gregory Nutt
15db2a45a4
drivers/net/slip.c: Fix another compilation error
2015-08-02 07:20:36 -06:00
Gregory Nutt
8fbac280e9
drivers/net/slip.c: Fix a missed name change when many of network interface names changed sometime back but were apparently never updated for SLIP
2015-07-01 11:58:06 -06:00
Gregory Nutt
2f009a2afe
Networking: SLIP interface improvements. From Macs N.
2015-01-30 08:09:38 -06:00
Gregory Nutt
89538ac4a2
- Rename devif_input() ipv4_input()
...
- Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
2015-01-15 08:03:56 -06:00
Gregory Nutt
a7ce1279f9
Networking: (1) Copied all ICMP sources files to net/icmpv6 with proper renaming and removal of IPv4 logic, (2) remove IPv6 logic from files in net/icmp, (3) copied include/nuttx/icmp.h to icmpv6.h and removed IPv4 specific logic, (4) removed all IPv6 logic from icmp.h, (5) IP_HDRLEN became IPv4_HDRLEN and IPv6_HDRLEN, (6) ip_chksum() became ipv4_chksum() and ipv6_chksum(), and (7) added partial support for ICMPv6 statistics.
2015-01-14 16:10:38 -06:00
Gregory Nutt
b9cd425bc2
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU in all drivers/net (except slip.c)
2014-11-16 08:53:20 -06:00
Gregory Nutt
25a9005ce7
Remove use of NET_LL_HDRLEN from Ethernet drivers. Use ETH_HDRLEN instead
2014-11-15 09:05:34 -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
23147c40a5
Remove final traces of the 8015 from the NuttX source tree
2014-09-01 13:21:15 -06:00
Gregory Nutt
1780810d3d
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
4beb3c0ad7
Move SLIP prototypes from net.h to new slip.h
2014-08-16 10:23:17 -06:00
Gregory Nutt
0b3ff976ff
Fix an error in SLIP escaping
2014-07-22 06:55:42 -06:00
Gregory Nutt
c5fc24e110
NET: Standardize naming of all protocal header lengths
2014-07-05 13:04:48 -06:00
Gregory Nutt
60246e613b
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
2014-07-04 19:13:08 -06:00
Gregory Nutt
0bb153b8cb
Remove all inclusion of uip.h
2014-07-04 16:58:22 -06:00
Gregory Nutt
cce35ce975
NET: More renaming
2014-07-04 15:40:49 -06:00
Gregory Nutt
400edda109
NET: Rename XYZ_uiptxpoll to just XYZ_txpoll
2014-07-01 18:41:08 -06:00
Gregory Nutt
77330679d4
NET: Rename uip_mss to tcp_mss
2014-06-30 19:09:23 -06:00
Gregory Nutt
b0c1b7ef47
Rename uip_poll->devif_poll and uip_timer->devif_timer
2014-06-30 18:40:41 -06:00
Gregory Nutt
da7379ed18
Rename uip_input to devif_input
2014-06-30 18:11:17 -06:00
Gregory Nutt
fce2a79abd
Rename uip_driver_s net_driver_s
2014-06-27 16:48:12 -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
5d1f8180d4
Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h
2014-06-24 10:14:15 -06:00
Gregory Nutt
37646044ac
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h
2014-06-24 09:28:44 -06:00
Gregory Nutt
3a1324741a
More trailing whilespace removal
2014-04-13 14:32:20 -06:00
patacongo
7f005e2d3c
Move all non-standard, NuttX header files into include/nuttx/net
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
12afb230bf
Fixes for kernel stub builds
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3473 42af7a65-404d-4744-a932-0658087f49c3
2011-04-06 16:40:47 +00:00
patacongo
fa7d24167f
Fix QEMU timer interrupts
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3387 42af7a65-404d-4744-a932-0658087f49c3
2011-03-16 17:17:58 +00:00
patacongo
3bdbb5fcaa
Fix SLIP bug
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3385 42af7a65-404d-4744-a932-0658087f49c3
2011-03-16 01:37:40 +00:00
patacongo
72e03e53ea
More SLIP integration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3384 42af7a65-404d-4744-a932-0658087f49c3
2011-03-15 20:26:34 +00:00
patacongo
cc0aee9d2f
Misc slip-related fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3383 42af7a65-404d-4744-a932-0658087f49c3
2011-03-15 10:40:39 +00:00
patacongo
53c68bf74e
Basic SLIP functionality -- but there are issues
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3382 42af7a65-404d-4744-a932-0658087f49c3
2011-03-15 01:54:49 +00:00
patacongo
77e3f14232
apps/ make changes + SLIP MTU notes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3381 42af7a65-404d-4744-a932-0658087f49c3
2011-03-14 23:24:42 +00:00
patacongo
354f9054c1
SLIP updates
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3379 42af7a65-404d-4744-a932-0658087f49c3
2011-03-14 18:05:24 +00:00
patacongo
c87fc6d5f1
VSN/apps update
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3378 42af7a65-404d-4744-a932-0658087f49c3
2011-03-14 14:14:54 +00:00
patacongo
d146196b72
SLIP corrections
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3376 42af7a65-404d-4744-a932-0658087f49c3
2011-03-13 15:12:31 +00:00
patacongo
f0d143ee29
Add SLIP test configuration
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3371 42af7a65-404d-4744-a932-0658087f49c3
2011-03-12 16:33:55 +00:00
patacongo
1ead79b6d5
More support for SLIP data link protocol
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3370 42af7a65-404d-4744-a932-0658087f49c3
2011-03-12 15:36:28 +00:00
patacongo
78e999dff1
Add SLIP driver
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3369 42af7a65-404d-4744-a932-0658087f49c3
2011-03-12 03:42:08 +00:00