Gregory Nutt
|
6941f916ce
net/socket: For consistency in naming, change the name of sock_release() to psock_release().
|
5 years ago |
Gregory Nutt
|
8fdbb1e0a4
Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t
|
6 years ago |
Gregory Nutt
|
091e3f732e
net/udp: Fix several issues using connected UDP sockets: sendto() should not accept and address. Normally send() should be used instead. recvfrom() is no longer necessary. recvfrom() and poll() should not reset to accept any addresses but should, instead, only accept inputs and events from the connected remore peer. On of these issues was noted by 李桂丁 <liguiding@pinecone.net>. Changes were made as summarized here: http://www.masterraghu.com/subjects/np/introduction/unix_network_programming_v1.3/ch08lev1sec11.html
|
6 years ago |
Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 years ago |
Gregory Nutt
|
f81ef55834
Trivial re-ordering of socket option bit numbers to match order presented on OpenGroup.org.
|
7 years ago |
Gregory Nutt
|
cccc86da09
This change adds support for semi-standard IPPROTO_ICMP AF_INET datagram sockets. This replaces the old ad hoc, nonstandard way of implementing ping with a more standard, socket interface.
|
7 years ago |
Gregory Nutt
|
e4dd33280d
Squashed commit of the following:
|
7 years ago |
Gregory Nutt
|
d40ee8e79d
Networking: Start the network monitor for a socket when a TCP socket is dup'ed.
|
7 years ago |
Gregory Nutt
|
962a9f8cf3
net/socket: Correct a typo in a macro definitions.
|
7 years ago |
Gregory Nutt
|
3c6981534f
Networking: Move INET socket interface out of net/sockets to its own directory net/inet
|
7 years ago |
Jussi Kivilinna
|
7dfb01dbce
network: Move USRSOCK specific code from from inet_sockif to usrsock_sockif
|
7 years ago |
Gregory Nutt
|
6537e4ea20
Socket I/F: Misc. fixes for compile errors/warnings going back to dual IPv4+IPv6 configuration.
|
7 years ago |
Gregory Nutt
|
24dd6d2905
Socket I/F: More fixes for USRSOCK. The good link fooled me because a critical file was not included in the link.
|
7 years ago |
Gregory Nutt
|
ef796b2d9e
Socket I/F: Misc clean-up to get a clean USRSOCK build.
|
7 years ago |
Gregory Nutt
|
8bf8c3fa86
Socket I/F: Add address family support for poll() and sendfile()
|
7 years ago |
Gregory Nutt
|
ac543648b8
Socket interface: Added getsockname[C() interfaces.
|
7 years ago |
Gregory Nutt
|
833ee2275d
Socket interface: Added close() interface.
|
7 years ago |
Gregory Nutt
|
85b1ae4cf0
Socket interface: Added bind() and connect() interfaces.
|
7 years ago |
Gregory Nutt
|
a71c504142
Socket I/F: Add recvfrom() method to interface.
|
7 years ago |
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 years ago |
Gregory Nutt
|
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
|
7 years ago |
Jussi Kivilinna
|
cd3c9634c8
Add user-space networking stack API (usrsock)
|
7 years ago |
Gregory Nutt
|
f348e68069
Update to use 64-bit timer when available
|
8 years ago |
Gregory Nutt
|
cb9e27c3b0
Standardize naming used for public data and function groupings
|
9 years ago |
Gregory Nutt
|
8b029fbbee
TCP networking: Hook the network monitor into the device event notification logic
|
9 years ago |
Gregory Nutt
|
01d176af76
net_startmonitor.c always returned zero. In the case where a socket has already been closed, it correctly handled the disconnetion event but still returned OK. Returning OK causes the callers of net_startmonitor to assume that the connection was okay, undoing the good things that net_startmonitor did and causing the socket to be marked as connected. This behavior was noted by Pelle Windestam.
|
9 years ago |
Gregory Nutt
|
0e2b6929b4
Add function headers to prototypes in net/socket/socket.h
|
9 years ago |
Gregory Nutt
|
caba61999a
Remove CONFIG_DISABLE_CLOCK
|
10 years ago |
Gregory Nutt
|
0bb153b8cb
Remove all inclusion of uip.h
|
10 years ago |
Gregory Nutt
|
76fa58ee00
Move all socket-related files from net/ to net/socket. Move net/net.h to net/socket/socket.h
|
10 years ago |