Commit Graph

518 Commits

Author SHA1 Message Date
Gregory Nutt
3e0bd1f1b0 NET: Rename some address comparison macros 2014-07-01 18:11:05 -06:00
Gregory Nutt
96a6c725d5 NET: Some minor clean-up 2014-06-30 19:43:30 -06:00
Gregory Nutt
85f42044df NET: Rename uip_dataevent to tcp_data_event 2014-06-30 19:17:22 -06:00
Gregory Nutt
b54d366efd NET: Remove uip_restart() 2014-06-30 19:14:01 -06:00
Gregory Nutt
77330679d4 NET: Rename uip_mss to tcp_mss 2014-06-30 19:09:23 -06:00
Gregory Nutt
5d7915e5ef NET: Remove uip_stopped and uip_stop 2014-06-30 19:03:01 -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
b18ac3c778 NET: Rename uip_ping to icmp_ping 2014-06-30 18:15:59 -06:00
Gregory Nutt
da7379ed18 Rename uip_input to devif_input 2014-06-30 18:11:17 -06:00
Gregory Nutt
7dd04db1d2 NET: Rename uip_nextXYZconn to XYZ_netconn 2014-06-30 18:03:58 -06:00
Gregory Nutt
ad3e39e53d NET: Rename uiphdr_ipaddr_copy to net_ipaddr_hdrcopy, uip_ip4addr_conv to net_ip4addr_conv32, and uip_ethaddr_cmp to eth_addr_cmp 2014-06-29 13:20:00 -06:00
Gregory Nutt
c362f21815 NET: Rename uip_ipaddr* to net_ipaddr* 2014-06-29 13:11:08 -06:00
Gregory Nutt
fa68fcc843 NET: Rename uip_callback_s to devif_callback_s 2014-06-29 12:59:34 -06:00
Gregory Nutt
899dc193ca NET: Renaming of IP address types 2014-06-29 12:22:50 -06:00
Gregory Nutt
5ac94ff988 Fixes for networking and tiny webserver from Max 2014-06-29 09:30:09 -06:00
Gregory Nutt
c179369a47 Rename static functions from uip_* to something more appropriate. Globally scoped functions will take more work 2014-06-28 19:26:16 -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
5790c94ba3 Rename net/uip to net/devif. Rename uip/uip.h to devif/devif.h 2014-06-28 18:07:02 -06:00
Gregory Nutt
3451ce2996 Move IPv6 files from net/uip to net/ipv6 2014-06-28 17:42:34 -06:00
Gregory Nutt
76fa58ee00 Move all socket-related files from net/ to net/socket. Move net/net.h to net/socket/socket.h 2014-06-28 17:25:18 -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
d6cf0f5703 Fix another place where sem_tryalloc may be called from the interrupt level. Thanks Manuel 2014-06-28 13:32:42 -06:00
Gregory Nutt
c3c8c86873 NET: Last tweaks were still in the editor 2014-06-28 11:56:48 -06:00
Gregory Nutt
c4fef5d5ff NET: Another fix for recently introduced networking errors 2014-06-28 11:41:06 -06:00
Gregory Nutt
3b81e58047 NET: Fix some errors in recent network I/O buffering when stack runs from interrupt level 2014-06-28 11:35:14 -06:00
Gregory Nutt
50b749a636 Clean-up naming associated with network checksums 2014-06-27 17:51:32 -06:00
Gregory Nutt
fce2a79abd Rename uip_driver_s net_driver_s 2014-06-27 16:48:12 -06:00
Gregory Nutt
d30217eb63 Move net/uip/uip_checksum.c to net/utils/net_chksum.c; fix missing Make.defs include in net/Makefile 2014-06-27 15:42:21 -06:00
Gregory Nutt
081ff02ec9 Add net/README.txt 2014-06-27 15:18:18 -06:00
Gregory Nutt
1db2614c2a Add missing source of netdev/Kconfig 2014-06-27 10:13:10 -06:00
Gregory Nutt
d8e18e7f96 Move NETDEV config from net/Kconfig to net/netdev/Kconfig 2014-06-27 10:02:14 -06:00
Gregory Nutt
238d9d9694 Fix conflict in ChangeLog 2014-06-27 10:00:28 -06:00
Gregory Nutt
953764181e NET: Move net/netdev*.c to net/netdev/netdev*.c 2014-06-27 09:56:45 -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
78177071ef Repartition network intialization functions 2014-06-26 14:36:24 -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
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
473ba2ba6c NET: Fix an include file ordering problem when CONFIG_NET_STATISTICS= 2014-06-26 07:29:16 -06:00
Gregory Nutt
1a2bcebb4a Clean up some networking configuration menus 2014-06-25 11:01:08 -06:00
Gregory Nutt
579ee6f573 Clean-up packet socket naming 2014-06-25 10:34:52 -06:00
Gregory Nutt
621097b6c8 Rename ip_eth_hdr to eth_hdr_s 2014-06-25 09:57:52 -06:00
Gregory Nutt
f57024406a Clean up IGMP naming 2014-06-25 09:52:36 -06:00
Gregory Nutt
92d3075ae0 Clean up ICMP naming 2014-06-25 09:12:47 -06:00
Gregory Nutt
abf04708ce Clean up all UDP-related naming 2014-06-24 18:55:01 -06:00
Gregory Nutt
04985d6d1e Clean up all TCP-related naming 2014-06-24 18:12:49 -06:00
Gregory Nutt
e2947c37a1 Forget to add a file in last commit 2014-06-24 15:46:10 -06:00
Gregory Nutt
fabcb6d37e TCP Read-Ahead: Convert to use I/O buffer chains 2014-06-24 15:38:00 -06:00
Gregory Nutt
e9a588c398 Add throttle support to the I/O buffer logic 2014-06-24 11:53:19 -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
626469e30c Move include/nuttx/net/uipopt.h to include/nuttx/net/netconfig.h 2014-06-24 08:53:28 -06:00
Gregory Nutt
4108a67b80 Net PKT: Suppress ARP requests for packet socket transfers 2014-06-24 08:33:58 -06:00
Gregory Nutt
0520270733 Net PKT: Suppress ARP requests for packet socket transfers 2014-06-24 08:22:12 -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
9022bc63cf Update Changelog 2014-06-23 19:38:10 -06:00
Gregory Nutt
7330704d36 CONFIG_NET_PKT is compatible with current TCP writebuffering logic because the share too much code; move sending of packet socket data from net_send_unbufferer.c to a new uip/uip_pktsend.c file for consistency 2014-06-23 19:25:16 -06:00
Gregory Nutt
718d9993e6 TCP write buffering: This corrects some of the basic transfer problems. But there are more 2014-06-23 17:31:30 -06:00
Gregory Nutt
240092a025 Merge remote-tracking branch 'origin/master' into netiob 2014-06-23 11:36:03 -06:00
Gregory Nutt
f30cbd1bdf Remove some spurious spaces in field selectors 2014-06-23 11:29:13 -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
14c7e2bc3c Write buffering: Fix a minor retransmission problem 2014-06-22 16:47:32 -06:00
Gregory Nutt
d642616c5b TCP write buffering: Fix an error in the trim logic 2014-06-22 16:25:26 -06:00
Gregory Nutt
579935bfc1 TCP write buffering: Correct handling of retry counter 2014-06-22 15:27:01 -06:00
Gregory Nutt
82dbbb05b6 Net: First bug fixes for modified write buffer logic 2014-06-22 13:34:09 -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
Gregory Nutt
e940245df9 TCP write buffering: Add buffer allocation check from Max (himax) 2014-06-19 08:31:50 -06:00
Gregory Nutt
8266624d04 Add missing CONFIG_NET_GUARDSIZE to Kconfig 2014-06-19 08:18:46 -06:00
Gregory Nutt
7622706cde Fix file names in new net/pkt/Make.defs 2014-06-19 07:32:07 -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
e46ff63eb8 Move Packet files from net/uip to net/pkt 2014-06-18 11:02:52 -06:00
Gregory Nutt
382920b9a9 Move UDP files from net/uip to net/udp 2014-06-18 10:50:09 -06:00
Gregory Nutt
2244dda41a Move uip/uip_listen.c to tcp/tcp_listen.c 2014-06-18 10:47:47 -06:00
Gregory Nutt
040837eb6c Move TCP files from net/uip to net/tcp 2014-06-18 10:21:21 -06:00
Gregory Nutt
143959c1ed Move TCP files from net/uip to net/tcp 2014-06-18 10:18:53 -06:00
Gregory Nutt
28c4cf6d5a Raw sockets: Various fixes for closing, free connections, TX from Daniel Lazo Sitzer 2014-06-18 09:47:08 -06:00
Gregory Nutt
04e564c9c3 Raw sockets: Various fixes for closing, free connections, TX from Daniel Lazo Sitzer 2014-06-18 09:46:45 -06:00
Gregory Nutt
3ec359d14c Notify Ethernet driver of TX data availability on raw socket. From Daniel Lazlo Sitzer 2014-06-18 09:44:06 -06:00
Gregory Nutt
b8840dc6de Cosmetic plus some configuration default changes 2014-06-12 13:32:07 -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
96c6f34825 IOB: Remove private data. Not needed 2014-06-12 08:35:59 -06:00
Gregory Nutt
60306a16d7 IOB: remove flags 2014-06-09 13:54:47 -06:00
Gregory Nutt
893bded2e1 Those pesky carriage returns 2014-06-07 11:05:31 -06:00
Gregory Nutt
0f71ea26b1 IOB: Add iob_contig() 2014-06-07 11:01:13 -06:00
Gregory Nutt
a304a73608 IOB: Add queue handling interfaces; improve lists 2014-06-06 09:35:31 -06:00
Gregory Nutt
87917ae782 IOB: Minor improvement to trimhead 2014-06-06 06:23:13 -06:00
Gregory Nutt
fc9b45f39f IOB: Fix bugs in trimming logic 2014-06-05 18:50:30 -06:00
Gregory Nutt
6a83cc5d17 Add iob_freechain 2014-06-05 13:26:38 -06:00
Gregory Nutt
7ef0fb1460 IOB: Add iob_clone() 2014-06-05 12:56:00 -06:00
Gregory Nutt
d6c1f0e526 IOB: Fix typo in debug assertion 2014-06-05 11:45:55 -06:00
Gregory Nutt
cbb26a9991 IOB: More clean based on change of the last commit 2014-06-05 11:39:17 -06:00
Gregory Nutt
c92645017b IOB: Need to clone header when deleting the first entry in an I/O buffer chain 2014-06-05 11:19:00 -06:00
Gregory Nutt
3881bf6b5f IOB: Remove unimplemented VLAN stuff; add unit test and fixes to pass unit test 2014-06-05 10:43:20 -06:00
Gregory Nutt
dad0da617a Left out some changes in last commit 2014-06-04 12:03:29 -06:00
Gregory Nutt
67d5e8d154 NET: Improvied I/O buffer logic 2014-06-04 09:03:11 -06:00
Gregory Nutt
d10c3923a2 Add iob_copyin() 2014-06-03 14:28:16 -06:00