Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 年之前 |
Gregory Nutt
|
c76774cfb0
net/route: Add logic to mark a route as most-recently-used in the route cache.
|
7 年之前 |
Gregory Nutt
|
c4d03d81e2
Update some comments
|
7 年之前 |
Gregory Nutt
|
ae78a925eb
Add support for an in-memory routing table cache in order to improve performance when the routing table is retained in a file. The cache holds the most recently used routing table entries and so can eliminate some file access.
|
7 年之前 |
Gregory Nutt
|
4dceea4901
Network routing table: Trivial name changes to make IPv4 and IPv6 more symmetric. Add debug logic to dump the content of the router table.
|
7 年之前 |
Gregory Nutt
|
f506a49295
Networking routing table: Cosmetic naming to make IPv4 and IPv6 routing table logic symmetry.
|
7 年之前 |
Gregory Nutt
|
2ada7d5892
IPv6: Remove comparisons to the address with all ones set. IPv6 does not support broadcast addresses and certainly not in that form. Replace with multicast addresses beginning with 0xff02.
|
7 年之前 |
Gregory Nutt
|
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
|
7 年之前 |
Gregory Nutt
|
6209c51206
net/: More clean-up of spacing/alignment issues
|
9 年之前 |
Gregory Nutt
|
ab50e9d04d
Networking: Get rid of g_ipv4_allzeroaddr and g_ipv4_alloneaddr. It is more efficient and more intuitive to use INADDR_ANY and INADDR_BROADCAST
|
9 年之前 |
Gregory Nutt
|
8cb4e78a1a
Complete implementation of the IPv6 routing logic. From Max Neklyudov.
|
9 年之前 |
Gregory Nutt
|
59c0757183
Fix a few more dangling IPv6 issues found by code inspection
|
9 年之前 |
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.
|
9 年之前 |
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.
|
9 年之前 |
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
|
10 年之前 |
Gregory Nutt
|
43d036f587
Network routing: Refuse to perform routing table lookups for the Broadcast IP address. From Brennan Ashton
|
10 年之前 |
Gregory Nutt
|
80fc094734
Make tcp_listener static scope; it is not used outside of tcp_conn.c
|
10 年之前 |
Gregory Nutt
|
e03c764d92
I don't think that the net_route function has ever worked correctly. The source ip was updated in the match struct instead of the route ip. From Brennan Ashton.
|
10 年之前 |
Gregory Nutt
|
60246e613b
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
|
10 年之前 |
Gregory Nutt
|
c362f21815
NET: Rename uip_ipaddr* to net_ipaddr*
|
10 年之前 |
Gregory Nutt
|
899dc193ca
NET: Renaming of IP address types
|
10 年之前 |
Gregory Nutt
|
76fa58ee00
Move all socket-related files from net/ to net/socket. Move net/net.h to net/socket/socket.h
|
10 年之前 |
Gregory Nutt
|
d120befd39
NET: Move routing table functions to net/route
|
10 年之前 |