Gregory Nutt
2c251d845c
include/net/if.h: Add a bit to the device flags to indicate if the device packet buffer holds an IPv4 or an IPv6 domain packet. Set/clear the flag along with the correct offset to the application payload data as each packet is received.
...
net/socket, net/tcp, net/udp: Add logic to select the domain of the outputgoing packet before sending any UDP or TCP packet. This sets the bit to indicate the IPv4 or IPv6 domain and the correct offset to the output going payload data.
2015-01-17 07:42:09 -06:00
Gregory Nutt
bee89be4f4
Networking: Drivers can have both IPv4 and IPv6 addesses, but a socket can only only one or the other; The socket connnection structures need to include a union of IPv4 and IPv6 addresses for the local address binding and for the remote address connections
2015-01-16 10:01:54 -06:00
Gregory Nutt
630366272a
Networking: Seperate tcp_input() and udp_input() into seprate functions tcp_ipv4_input(), tcp_ipv6_input(), udp_ipv4_input(), and upd_ipv6_input() than can deal will the data offsets caused by the differing sizes of the IP header.
2015-01-15 15:06:46 -06:00
Gregory Nutt
dc7a45ecf8
Extensions to ECP conneciton structure for the case of multiple networks. See additional comments regarding the similar change for UDP
2014-11-22 10:46:37 -06:00
Gregory Nutt
80fc094734
Make tcp_listener static scope; it is not used outside of tcp_conn.c
2014-11-22 07:14:17 -06:00
Gregory Nutt
2e55db369d
Network: All logic will now handle varialbe length link layer protocol headers within incoming packets. This permits use of multiple network interfaces with differing data links. For example, ETHERNET + SLIP
2014-11-15 13:13:23 -06:00
Gregory Nutt
e89eac6365
NET: Fix a few problems after big merge of network reorganization
2014-07-06 17:58:36 -06:00
Gregory Nutt
73f3ecf7e2
NET: Rename network interrupt event flags more appropriately: TCP_, UDP_, ICMP_, or PKT_ vs UIP_
2014-07-06 17:22:02 -06:00
Gregory Nutt
b77fda2c95
NET: Rename TCP state values: UIP_ -> TCP_
2014-07-06 16:10:26 -06:00
Gregory Nutt
2d52d70d4c
NET: Move private definitions from include/nuttx/net/tcp to net/tcp/tcp.h
2014-07-06 12:34:27 -06:00
Gregory Nutt
7dd04db1d2
NET: Rename uip_nextXYZconn to XYZ_netconn
2014-06-30 18:03:58 -06:00
Gregory Nutt
8e706eb4ff
Rename many functions in net/devif from uip_* to devif_*
2014-06-28 18:36:09 -06:00
Gregory Nutt
fce2a79abd
Rename uip_driver_s net_driver_s
2014-06-27 16:48:12 -06:00
Gregory Nutt
e1091251e6
NET: Move statistcs from uip.h to new netstats.h to remove nasty circular inclusion problem.
2014-06-26 09:32:39 -06:00
Gregory Nutt
579ee6f573
Clean-up packet socket naming
2014-06-25 10:34:52 -06:00
Gregory Nutt
04985d6d1e
Clean up all TCP-related naming
2014-06-24 18:12:49 -06:00
Gregory Nutt
e9a588c398
Add throttle support to the I/O buffer logic
2014-06-24 11:53:19 -06:00
Gregory Nutt
38c6e41e8e
Separate net/net_send_buffered.c and net/net_send_unbuffered.c to net/tcp/tcp_send_buffered.c, net/tcp/tcp_send_unbuffered.c, and pkt/pkt_send.c
2014-06-24 08:03:44 -06:00
Gregory Nutt
30843cf46d
TCP write buffering: Add an offset to buffer dumping logic
2014-06-23 09:40:17 -06:00
Gregory Nutt
963f8f49c5
TCP write buffering: Add length to buffer dumping instrumentation
2014-06-23 07:31:55 -06:00
Gregory Nutt
6f1651d5f2
TCP write buffering: Extend and fix some buffer dumping logic
2014-06-22 18:53:18 -06:00
Gregory Nutt
356d25b503
First cut at conversion of write-buffering to use I/O buffer chaings (IOBs)
2014-06-22 11:27:57 -06:00
Gregory Nutt
2805582151
net: Add net/tcp/tcp.h; rename uip_tcpwrbuffer_ to tcp_wrbuffer_*
2014-06-21 15:23:39 -06:00