Gregory Nutt
|
8db55f6493
|
Back out most of previous commit
|
2016-02-26 06:45:37 -06:00 |
|
Gregory Nutt
|
0b441ff1f4
|
net/: Add basic IEEE 802.15-4 socket support
|
2016-02-25 14:01:22 -06:00 |
|
Gregory Nutt
|
f348e68069
|
Update to use 64-bit timer when available
|
2016-01-21 11:54:26 -06:00 |
|
Gregory Nutt
|
6209c51206
|
net/: More clean-up of spacing/alignment issues
|
2015-10-08 15:10:04 -06:00 |
|
Gregory Nutt
|
0b12dbf95d
|
Fix some spacing problems
|
2015-10-04 15:04:00 -06:00 |
|
Gregory Nutt
|
fec3d2cf62
|
recvfrom: Fixes for compilation with only raw, packet sockets
|
2015-09-14 09:06:08 -06:00 |
|
Gregory Nutt
|
63071a563a
|
Costmetic changes
|
2015-08-27 10:38:43 -06:00 |
|
Gregory Nutt
|
89b5ef8d35
|
wdogs: Fix counting of free, pre-allocated wdog timers. The could could get decremented below zero in some situations
|
2015-08-21 11:30:22 -06:00 |
|
Pavel Pisa
|
12b1c04508
|
recvfrom(): Correct wait for new data when NET_UDP_READAHEAD is enabled. Fix size accounting when recvfrom_udpreadahead() sets state.rf_recvlen == -1. I have not checked if data are accumulated to the right position in the buffer however.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
|
2015-08-21 09:15:06 -06:00 |
|
Max Neklyudov
|
7d04104485
|
Networking: Allow receipt of empty UDP packets. From Max Neklyudov
|
2015-08-11 08:34:16 -06:00 |
|
Gregory Nutt
|
fca919f3d2
|
Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL
|
2015-07-05 11:18:56 -06:00 |
|
Gregory Nutt
|
a47a0d237c
|
Costmetic changes to networking logic
|
2015-05-31 10:29:53 -06:00 |
|
Gregory Nutt
|
04a661a97c
|
TCP networking: Add support for network driver events
|
2015-05-30 09:12:27 -06:00 |
|
Gregory Nutt
|
2102892e7b
|
Fix missing file and some compilation errors from the last UDP committ
|
2015-05-29 10:45:41 -06:00 |
|
Gregory Nutt
|
e672bcebfd
|
UDP Networking: Add support for device event notification for UDP transfers.
|
2015-05-29 10:21:06 -06:00 |
|
Gregory Nutt
|
e28a8b1416
|
Raw sockets: Correct some compile issues; better modularized device-related logic
|
2015-05-29 08:47:21 -06:00 |
|
Gregory Nutt
|
d319b7c6f0
|
Networking: PKT logic now uses the device event list
|
2015-05-28 12:40:05 -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
|
621eae86b1
|
Networking: If IPV6 is not enabled, an warning occurs for an unused variable, which is currently used inside the IPV6 block, but declared outside. From ObitalFox.
|
2015-04-27 11:28:28 -06:00 |
|
Gregory Nutt
|
db741dd695
|
Move some useful internal logic from recvfrom.c and udp_callback.c and put them in ip.h where they can be used more generally
|
2015-02-17 07:37:44 -06:00 |
|
Gregory Nutt
|
eb8f5e548f
|
Purely cosmetic changes resulting from last review IPv6 UDP change
|
2015-02-16 15:23:02 -06:00 |
|
Gregory Nutt
|
3f5ff4b210
|
IPv4 mapping to IPv6 implementation. Just for UDP. From Macs Neklyudov
|
2015-02-16 14:33:58 -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
|
0fc8d2fcc5
|
Unix domain: Add options to build in stream or datagram support separately
|
2015-01-31 07:58:51 -06:00 |
|
Gregory Nutt
|
f357ba6c80
|
Fix error just introduces into recvfrom. From Macs N.
|
2015-01-30 08:22:44 -06:00 |
|
Gregory Nutt
|
6eda06888a
|
Eliminate a warning
|
2015-01-30 06:39:23 -06:00 |
|
Gregory Nutt
|
ccc72edc0b
|
Networking: Add UDP read-ahead support and support for poll/select on UDP sockets. From Macs N.
|
2015-01-30 06:08:26 -06:00 |
|
Gregory Nutt
|
1c8ddae655
|
Fix a typo in comments
|
2015-01-28 17:51:59 -06:00 |
|
Gregory Nutt
|
72ac79e7a1
|
Minor fixes after initial tests with apps/examples/udgram
|
2015-01-28 15:27:54 -06:00 |
|
Gregory Nutt
|
c250c97186
|
Unix domain: More fixed to build without Ethernet or Slip
|
2015-01-27 14:26:10 -06:00 |
|
Gregory Nutt
|
c49c7bc447
|
Merge remote-tracking branch 'origin/master' into afunix
|
2015-01-27 14:12:41 -06:00 |
|
Gregory Nutt
|
8f517ad0c1
|
recvfrom(): Missing else in conditional logic of recvfrom()
|
2015-01-27 14:14:53 -06:00 |
|
Gregory Nutt
|
a88b824f96
|
Networking: Hook in send and revcfrom Unix domain socket logic; still needs hooks for sendto logic
|
2015-01-26 18:47:48 -06:00 |
|
Gregory Nutt
|
2e8667d304
|
Networking: New domain field in socket structure is created by socket(), but missed cases where a socket is created via accept() or dup()
|
2015-01-22 07:50:31 -06:00 |
|
Gregory Nutt
|
5d31687e75
|
Correct name of fields in struct sockaddr_in6: sin6_port and sin6_family, not sin_port and sin_family
|
2015-01-20 18:14:09 -06:00 |
|
Gregory Nutt
|
aec4528882
|
Cosmetic standardization of some naming in comments
|
2015-01-19 16:02:56 -06:00 |
|
Gregory Nutt
|
eb3c6e8390
|
Networking: Some fixes for compilation when both IPv4 and IPv6 are enabled
|
2015-01-18 09:23:22 -06:00 |
|
Gregory Nutt
|
f7663ef0ab
|
Networking: Final detangle off IPv4 and IPv6 TCP/UDP send logic. The Networking subsystem now compiles with IPv6 enabled
|
2015-01-18 08:56:05 -06:00 |
|
Gregory Nutt
|
cfbe12adb2
|
Networking: Fix some errors detected by Travis in configuration that have TCP on and UDP off and vice versa
|
2015-01-17 17:00:19 -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
|
4ad5998db3
|
net/socket and net/tcp: When we are ready to receive data or when we have outgoing data ready to be sent, we need to the notify the appropriate device driver of this condition. The notifying socket will be configured as either PF_INET or PF_INET6 and must look up the correct driver using the correct IP domain.
|
2015-01-17 08:33:14 -06:00 |
|
Gregory Nutt
|
2663538b0a
|
Networking: Replace all references to the macros net_ipaddr_copy, net_ipaddr_hdrcopy, net_ipaddr_cmp, net_ipaddr_hdrcmp, and net_ipaddr_maskcmp with the appropriate IPv4 or IPv6 version of the macro (such as net_ipv4addr_copy). The goal is to support both IPv4 and IPv6 simultaneously. This requires that the macros be distinct and not conditionally defined to one on or the other.
|
2015-01-16 13:01:08 -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
|
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
|
60e50ff3b5
|
Networking: More IPv6 detanglement
|
2015-01-15 13:08:28 -06:00 |
|
Gregory Nutt
|
b36dbe1d89
|
Add logic to netdev_findbyaddr() to return the correct network device for the case where a broadcast address is used. This change caused trivial ripples through other files because additional parameters are required for netdev_findbyaddr() when CONFIG_NET_MULTINIC
|
2014-11-23 11:00:22 -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
|
caba61999a
|
Remove CONFIG_DISABLE_CLOCK
|
2014-08-07 12:35:24 -06:00 |
|
Gregory Nutt
|
cab24a4bd8
|
Add inclusion of assert.h to so files that use DEBUGASSERT
|
2014-07-21 18:46:47 -06:00 |
|
Gregory Nutt
|
178b2b0cbe
|
NET: Important fix to the read-ahead buffer queue managment: Consumed bytes were being trimmed from the head of the queue, but the queue head itself was not being updated. From Rony XLN
|
2014-07-07 07:28:17 -06:00 |
|