Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 年之前 |
Jussi Kivilinna
|
957831d2ba
net/socket: psock_send/psock_sendto: remove assert check for null psock and buf input pointers. Removes check as 'psock == NULL' altogether because that checked for later in psock_send and psock_sendto. Change null check for 'buf' so that it is handled same as in recvfrom.c (return -EINVAL instead of
|
7 年之前 |
Gregory Nutt
|
44736b721c
net/sockets: psock_send() is an internal OS interface an should not set the errno variable.
|
7 年之前 |
Gregory Nutt
|
9e8529b1d0
net/sockets: psock_sendto() is an internal OS interface an should not set the errno variable.
|
7 年之前 |
Gregory Nutt
|
ef796b2d9e
Socket I/F: Misc clean-up to get a clean USRSOCK build.
|
7 年之前 |
Gregory Nutt
|
79a09bfd6e
Socket I/F: Fix bad copy-past error. sendto() was called the address family's send() instead of sendto().
|
7 年之前 |
Gregory Nutt
|
85b1ae4cf0
Socket interface: Added bind() and connect() interfaces.
|
7 年之前 |
Gregory Nutt
|
1b9cb70828
Sockets: Initial steps to adde a socket interface to the networking. Each address family will have an interface that describes how to perform socket operations on that address family. Currently only a couple of methods are defined in the table as a proof of concept. More to come. Currently there are only tables for the INET/INET6 family, the Unix LOCAL family, and the raw PACKET family. Hopefully there will be AF_IEEE802154 and AF_BLUETOOTH comming down the pike.
|
7 年之前 |
Gregory Nutt
|
cfea8adacb
L should be capitalized in 6LoWPAN
|
7 年之前 |
Gregory Nutt
|
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
|
7 年之前 |
Gregory Nutt
|
76406af71b
6loWPAN: Add support for sendto()
|
7 年之前 |
Jussi Kivilinna
|
cd3c9634c8
Add user-space networking stack API (usrsock)
|
7 年之前 |
Gregory Nutt
|
b52e4e5ecd
Move cancellation point definitions to their own header file.
|
7 年之前 |
Gregory Nutt
|
bc3ca25cc7
Cancellation points: Close up some logic to eliminte some race conditions.
|
7 年之前 |
Gregory Nutt
|
64ffd89ee1
Another missing header file inclusion.
|
7 年之前 |
Gregory Nutt
|
16be9b332e
More cancellation points
|
7 年之前 |
Gregory Nutt
|
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
8 年之前 |
Gregory Nutt
|
86b79b33cf
Reserver the name 'err' for other purposes
|
8 年之前 |
Gregory Nutt
|
530d229361
net/udp: Add support for send() with connected UDP sockets
|
9 年之前 |
Gregory Nutt
|
0bdf2d5360
UDP Networking: Misc fixes to get the last changes working + cleanup
|
9 年之前 |
Gregory Nutt
|
0fc8d2fcc5
Unix domain: Add options to build in stream or datagram support separately
|
9 年之前 |
Gregory Nutt
|
8b9958b7ba
Fix two compilation errors that occur when Unix domain occurs an IPv6 are enabled
|
9 年之前 |
Gregory Nutt
|
0deca5b039
Unix domain: Various fixes to get apps/examplex/udgram working
|
9 年之前 |
Gregory Nutt
|
9abd8e2e64
Fix typo in conditional compilation
|
9 年之前 |
Gregory Nutt
|
2c7123197c
Networking: Move UDP-specifc parts of sendto() out of socket/sendto.c and into udp/udp_sendto.c. Hook in Unix domain sokcet sendto() logic (still just a stub for the moment)
|
9 年之前 |
Gregory Nutt
|
a88b824f96
Networking: Hook in send and revcfrom Unix domain socket logic; still needs hooks for sendto logic
|
9 年之前 |
Gregory Nutt
|
59c0757183
Fix a few more dangling IPv6 issues found by code inspection
|
9 年之前 |
Gregory Nutt
|
cfbe12adb2
Networking: Fix some errors detected by Travis in configuration that have TCP on and UDP off and vice versa
|
9 年之前 |
Gregory Nutt
|
b80cdb3880
Fix a few warnings introduced with the last commit
|
9 年之前 |
Gregory Nutt
|
820509eadc
Networking: Fix accept() so that it returns the correct IP address for the selected socket IP domain.
|
9 年之前 |