Gregory Nutt
|
31f832d8c5
|
IP forwarding: Flesh out TCP, UDP, and ICMPv6 packet forwarding logic.
|
2017-07-05 11:01:16 -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
|
f87d5a3f81
|
net/: Remove dangling space at the end of lines.
|
2017-06-28 13:32:19 -06:00 |
|
Gregory Nutt
|
01b0a56371
|
TCP: tcp_input() now receives IP domain as an input parameter vs. deriving from the IP header length.
|
2017-05-25 08:02:08 -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
|
d5207efb5a
|
Be consistent... Use Name: consistent in function headers vs Function:
|
2017-04-21 16:33:14 -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
|
2d057c28c8
|
net: Disable priority inheritance on all semaphores used for signaling
|
2016-11-03 12:17:02 -06:00 |
|
Gregory Nutt
|
2a751068e6
|
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
|
2016-06-20 12:44:38 -06:00 |
|
Gregory Nutt
|
43eb04bb8f
|
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
|
2016-06-20 11:59:15 -06:00 |
|
Gregory Nutt
|
d40a473f72
|
Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn().
|
2016-06-20 09:37:08 -06:00 |
|
Gregory Nutt
|
7d0950bb22
|
net/: Change some nerr() ERRORS to nwarn() WARNINGS. Anomolous network events are not errors.
|
2016-06-12 07:09:37 -06:00 |
|
Gregory Nutt
|
f4fcdcdb4d
|
net/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
|
2016-06-11 17:37:21 -06:00 |
|
Gregory Nutt
|
a1469a3e95
|
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
2016-06-11 15:50:49 -06:00 |
|
Gregory Nutt
|
e99301d7c2
|
Rename *lldbg to *llerr
|
2016-06-11 14:55:27 -06:00 |
|
Gregory Nutt
|
fc3540cffe
|
Replace all occurrences of vdbg with vinfo
|
2016-06-11 11:59:51 -06:00 |
|
Gregory Nutt
|
0fb035f76b
|
Standardize some naming in code section comments
|
2016-02-21 18:09:04 -06:00 |
|
Gregory Nutt
|
aa3e778dc6
|
nuttx/net: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
2016-02-14 08:38:44 -06:00 |
|
Gregory Nutt
|
f348e68069
|
Update to use 64-bit timer when available
|
2016-01-21 11:54:26 -06:00 |
|
Gregory Nutt
|
6af3ba78b9
|
Remove CONFIG_NET_PINGADDRCONF. This was a uIP way of assigning IP addresses, but is not standard and not a appropriate feature in general.
|
2015-12-01 07:48:56 -06:00 |
|
Gregory Nutt
|
6209c51206
|
net/: More clean-up of spacing/alignment issues
|
2015-10-08 15:10:04 -06:00 |
|
Gregory Nutt
|
af086c40ff
|
Remove dangling whitespace
|
2015-10-04 15:28:54 -06:00 |
|
Gregory Nutt
|
0b12dbf95d
|
Fix some spacing problems
|
2015-10-04 15:04:00 -06:00 |
|
Gregory Nutt
|
cb9e27c3b0
|
Standardize naming used for public data and function groupings
|
2015-10-02 16:30:35 -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
|
8f7752d956
|
Networking: Modify how callback structures are stored to avoid another potential use of a stal pointer.
|
2015-06-03 08:11:57 -06:00 |
|
Gregory Nutt
|
e81f279315
|
Networking: Modify event list handling: Now there are two event lists each device structure: (1) One is for ARP and ICMP data related evetns, the other is for device related events. Callback allocation/free routines no accept a device paramter as well as a list: If the device paramter is added, then the callback goes into both the connection-related liast AND the device event list. Thus each socket type can received both custom data-related events as well as common device related events.
|
2015-05-28 12:01:38 -06:00 |
|
Gregory Nutt
|
2ecff2a432
|
Add some missing NETDEV_DOWN support for ICMPv6 auto configuration and router support
|
2015-05-27 12:49:39 -06:00 |
|
Gregory Nutt
|
b94321cfb4
|
Extend device specific callbacks to ICMPv6 and ARP. Fix some IPv6 compilation errors that have crept in
|
2015-05-27 11:39:44 -06:00 |
|
Gregory Nutt
|
7a745c3fa4
|
Use common macro(s) for calculating link layer header length. From Brennan Ashton.
|
2015-04-13 13:53:13 -06:00 |
|
Gregory Nutt
|
3840c2a14b
|
Fix several typos in comments
|
2015-04-09 16:13:03 -06:00 |
|
Gregory Nutt
|
cded7ea682
|
Fix some time value changes; mostly changing greater than 1000000000 to greater than or equal to 1000000000. From Juha Niskanen
|
2015-02-20 07:07:36 -06:00 |
|
Gregory Nutt
|
77d8f2f63d
|
Add some inclusions of nuttx/net.h to two files. Without these there can be compilation errors in certain configurations. From Max Neklyudov.
|
2015-02-13 13:43:19 -06:00 |
|
Gregory Nutt
|
b756df982d
|
net/: Lots of build problems introduced into multiple NIC support. Many places where conditional logic based on CONFIG_NETDEV_MULTINIC is confused with CONFIG_NET_MULTILINK. Lots of code changed with IPv6 that was never compiled with MULTINIC enabled. Still some problem with parameter passing.
|
2015-02-09 18:15:34 -06:00 |
|
Gregory Nutt
|
559f1ef825
|
Networking: Clean up and consolidate some clunky stuff by adding new net_timedwait() function
|
2015-02-09 07:50:10 -06:00 |
|
Gregory Nutt
|
3e6705b526
|
IPv6: Separate function that converts prefix lengths to a netmask
|
2015-02-06 08:11:09 -06:00 |
|
Gregory Nutt
|
3bd6dcf435
|
IPv6 fixes: Both ICMPv6 autonomous auto-configuration and the ICMPv6 router function appear to be fully functional.
|
2015-02-05 12:48:02 -06:00 |
|
Gregory Nutt
|
6568d94902
|
ICMPv6: Add logic to behave like a router (if so configured): NuttX will not send the router advertisement message in response to any router solicitation messages.
|
2015-02-05 09:43:29 -06:00 |
|
Gregory Nutt
|
111f4a45a3
|
Forgot to add this file before a previous commit
|
2015-02-05 09:43:07 -06:00 |
|
Gregory Nutt
|
da1d1d7139
|
ICMPv6: Add option to send Router Advertisement Messages.
|
2015-02-05 09:28:00 -06:00 |
|
Gregory Nutt
|
6f3f43d930
|
IPv6: Add a netmaks for the local link address
|
2015-02-05 05:43:57 -06:00 |
|
Gregory Nutt
|
453c25cdbb
|
Minor logic simplification
|
2015-02-04 21:06:11 -06:00 |
|
Gregory Nutt
|
28b89b7a65
|
ICMPv6 Auto-configuration: If no router reponds to the Router Solicitation, claim the link local address by sending the Neighbor Advertisement and return success
|
2015-02-04 16:13:27 -06:00 |
|
Gregory Nutt
|
c5ed77120f
|
ICMPv6: Separate out Neighbor Advertise message so that we can reuse it
|
2015-02-04 15:43:54 -06:00 |
|
Gregory Nutt
|
f558dfbb96
|
Remove unnecessary, inappropriate inclusion of ARP head file in IPv6 code
|
2015-02-04 14:52:46 -06:00 |
|
Gregory Nutt
|
24d800398e
|
Networking: Break out Ethernet definitions into a separate file; add IPv6 multicast addresses as common globals, Ethernet drivers need to filter link-local, all nodes Ethernet address
|
2015-02-04 14:51:20 -06:00 |
|
Gregory Nutt
|
6159d1307d
|
Forgot to add a file from a previous commit
|
2015-02-03 17:45:24 -06:00 |
|
Gregory Nutt
|
0e38ca9a42
|
ICMPv6: Fix some multi-cast addresses
|
2015-02-03 17:26:05 -06:00 |
|
Gregory Nutt
|
f7ace410d1
|
Minor updates to comments, debug messages, documentation
|
2015-02-03 17:01:48 -06:00 |
|
Gregory Nutt
|
154d3ce955
|
ICMPv6: Some initial bugfix from first tests of the ICMPv6 auto-configuration logic. so far so good but a lot more testing is needed
|
2015-02-03 16:19:08 -06:00 |
|
Gregory Nutt
|
9791e829f5
|
ICMPv6: This completes coding of the ICMPv6 auto-configuration feature. It is not yet functional
|
2015-02-03 15:40:56 -06:00 |
|
Gregory Nutt
|
66f0198e3f
|
Networking: Add support for sending ICMPv6 Router Solicitation and receiving Router advertisement. This is a part of the ICMPv6 auto-configuration logic is still still not complete
|
2015-02-03 13:25:28 -06:00 |
|
Gregory Nutt
|
553b93cd23
|
Costmetic updates to comments
|
2015-02-03 11:19:33 -06:00 |
|
Gregory Nutt
|
b427e8288b
|
Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete
|
2015-02-03 08:01:55 -06:00 |
|
Gregory Nutt
|
d89073ae13
|
Add some comments to C files
|
2015-02-03 06:04:54 -06:00 |
|
Gregory Nutt
|
88f6573f31
|
ICMPv6: Add file/build structure that will eventually support ICMPv6 auto-configuration
|
2015-02-02 17:54:48 -06:00 |
|
Gregory Nutt
|
f019d11384
|
Restore 20Msec default
|
2015-02-02 14:59:49 -06:00 |
|
Gregory Nutt
|
bba3fccd74
|
Networking: Apply the same ARP fix for the Neighbor Solicitation logic
|
2015-02-02 14:50:16 -06:00 |
|
Gregory Nutt
|
fb72b1b1b7
|
Auto neighbor solicitation is no longer EXPERIMENTAL and is the default for the DK-TM4C129X/ipv6 configuration
|
2015-02-02 14:09:06 -06:00 |
|
Gregory Nutt
|
a07a764d42
|
ICMPv6: Adds basic logic to support verification that we have the IPv6 address in the Neighbor Table. This feature is important because otherwise the first packet sent to a remote peer will fail (it will be replaced with a Neighbor Solicitation).
|
2015-02-02 13:44:31 -06:00 |
|
Gregory Nutt
|
b1b8c0e47d
|
IPv6: More framework for automatic neighbor solicition. I think this also corrects and error in a broadcast/multicast address chedk
|
2015-02-02 11:34:51 -06:00 |
|
Gregory Nutt
|
3385082b99
|
IPv6: Remove an unusd file (kruft from original IPv6 develoment); Add inital hooks to support automatic Neighbor Solitication
|
2015-02-02 10:49:50 -06:00 |
|
Gregory Nutt
|
8b9958b7ba
|
Fix two compilation errors that occur when Unix domain occurs an IPv6 are enabled
|
2015-01-29 12:31:29 -06:00 |
|
Gregory Nutt
|
f4bb7f14e1
|
Networking: Clean up network status collection and presentation for IPv6
|
2015-01-24 08:26:12 -06:00 |
|
Gregory Nutt
|
96a53254dd
|
Some minor clean-up of IPv4/6 flags
|
2015-01-24 07:29:43 -06:00 |
|
Gregory Nutt
|
e02ced8c98
|
Networking: Final fixes. IPv6 pings now work in both directions
|
2015-01-23 15:10:47 -06:00 |
|
Gregory Nutt
|
8e844a3c27
|
Networking: Various bugfixes related to IPv6 ping
|
2015-01-23 14:40:09 -06:00 |
|
Gregory Nutt
|
30f0a942e1
|
Networking: First cut at ICMPv6 ping logic
|
2015-01-23 14:06:08 -06:00 |
|
Gregory Nutt
|
b51c00c8d7
|
Networking: Need to set the IPv6 EtherType on outgoing IPv6 packets
|
2015-01-23 09:30:50 -06:00 |
|
Gregory Nutt
|
4ab8e85dba
|
Networking: Change some debug outputto vebose debug output
|
2015-01-21 14:23:50 -06:00 |
|
Gregory Nutt
|
7dd07f7179
|
Networking: IPv6 receipt logic errors. Don't save neighbor address in table when solicitation is recieved. Save it when the advertisement is received
|
2015-01-21 14:13:03 -06:00 |
|
Gregory Nutt
|
8132afb3de
|
Fix some errors in memcpy arguments. No ampersands on array arguments.
|
2015-01-21 12:42:22 -06:00 |
|
Gregory Nutt
|
3202819328
|
IPv6 -- various fixed from problems found in testing
|
2015-01-21 10:29:18 -06:00 |
|
Gregory Nutt
|
4498bf9f5b
|
ICMPv6 Neighbor Advertisement: Need to set O flag or response is not used. Also, TTL=255 seems to be more-or-less standard in this message
|
2015-01-21 08:37:23 -06:00 |
|
Gregory Nutt
|
cdff532bfa
|
Networking: When sending ICMPv6 advertisements and solicitations, set the NOARP bit so that we don't overwrite the destination MAC address
|
2015-01-20 15:59:52 -06:00 |
|
Gregory Nutt
|
67a655ecf0
|
Networking: Add logic to search the Neighbor Table and update the destination address in the output Ethernet header OR to send an ICMPv6 Neighbor Solicitation if there is no entry in the Neighbor table for the IPv6 address
|
2015-01-20 14:37:02 -06:00 |
|
Gregory Nutt
|
109c7c7437
|
Networking: Clean up IPv6 Neighbor Table logic
|
2015-01-20 12:31:56 -06:00 |
|
Gregory Nutt
|
d68cd0d8de
|
Networking: Update ICMPv6 logic to RFCs
|
2015-01-20 11:06:51 -06:00 |
|
Gregory Nutt
|
33d95bdcee
|
Networking: Hook in ICMPv6 polling operations into periodic network logic
|
2015-01-19 15:51:40 -06:00 |
|
Gregory Nutt
|
2fd334432c
|
Networking: Fix to ICMPv6 logic: Needs to set source and destination address in the Ethernet header
|
2015-01-19 14:57:55 -06:00 |
|
Gregory Nutt
|
13149536f2
|
Networking: Update ICMPv6 message numbers
|
2015-01-19 14:04:16 -06:00 |
|
Gregory Nutt
|
820509eadc
|
Networking: Fix accept() so that it returns the correct IP address for the selected socket IP domain.
|
2015-01-17 09:27:05 -06:00 |
|
Gregory Nutt
|
88a0e82934
|
Networking: Remove field d_sndata from the device structure. It is the same as d_appdata and unnecessary
|
2015-01-17 05:59:13 -06:00 |
|
Gregory Nutt
|
8f8259a0d6
|
Networking: UDP and TCP MSS depends on the IP header size (as well as the link layer header size) and cannot be represented with a single value.
|
2015-01-16 15:03:10 -06:00 |
|
Gregory Nutt
|
5e938941a6
|
Networking: Replace all references to net_ipaddr_t with either in_addr_t on net_ipv6addr_t. The goal is to support both IPv4 and IPv6 simultaneously. This requires that the two types be distinct and not conditionally typedef'ed to net_ipaddr_t.
|
2015-01-16 12:30:18 -06:00 |
|
Gregory Nutt
|
5a441ce03b
|
Networking: Misck IPv6 detanglement
|
2015-01-15 12:19:44 -06:00 |
|
Gregory Nutt
|
a49f0231d2
|
Networking: A few more IPv6-related fixes
|
2015-01-14 18:34:28 -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
|
fcd65e9d7d
|
Networking: Make a home for ICMPv6
|
2015-01-14 14:26:50 -06:00 |
|