History log of /seL4-camkes-master/projects/lwip/src/include/lwip/ip4_addr.h
Revision Date Author Comments
# b1ffb3a8 24-May-2018 Simon Goldschmidt <goldsimon@gmx.de>

Try to fix bug #53952 (ip4_addr_debug_print_val unaligned structure reference compiler warning)


# c0109609 12-Feb-2017 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Move struct ip4_addr2 and corresponding copy macros from ip4_addr.h to prot/etharp.h where they belong
Also rename struct not to clash with IP4_ADDR2 macro definition, and rework copy macros to contain a source/dest direction


# 0ca82df0 07-Dec-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Cleanup byte order handling a bit.
- Create LWIP_MAKEU32(a,b,c,d) to create an U32 value from bytes
- Use PP_HTONL() in some macros to emphasize network byte order conversion


# ff3656f4 07-Dec-2016 goldsimon <goldsimon@gmx.de>

Added improved macros for ip address initialization: IPADDR4_INIT_BYTES(), IPADDR6_INIT_HOST() and IP4_ADDR_MAKEU32()


# a6bc4227 05-Dec-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Move declaration of struct ip4_addr_packed and ip4_addr_p_t to prot/ip4.h
The types are used in structs declared in ip4.h.


# 13fb616b 05-Oct-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Cleanup hton*/ntoh* function handling and platform abstraction
Let lwip use functions/macros prefixed by lwip_ internally to avoid naming clashes with external #includes.
Remove over-complicated #define handling in def.h
Make functions easier to override in cc.h. The following is sufficient now (no more LWIP_PLATFORM_BYTESWAP):
#define lwip_htons(x) <your_htons>
#define lwip_htonl(x) <your_htonl>


# 2f950a7d 18-Jul-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Some documentation updates


# 102f5882 25-Jun-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix several CLANG format string warnings


# 451277e7 24-May-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Include all lwIP files in doxygen documentation


# c8b65f6c 30-Mar-2016 Dirk Ziegelmeier <dirk@ziegelmeier.net>

Fix #define IPADDR_STRLEN_MAX in IPv6 only and dual-stack case


# 177c06b1 20-Aug-2015 sg <goldsimon@gmx.de>

- prework for fixing bug #45029: access IPv4 configuration of struct netif via new API (netif_ip4_addr()/netif_ip4_netmask()/netif_ip4_gw()) instead of accessing the struct member directly. This way, we can change the struct member types from ip4_addr_t to ip_addr_t;
- fixed some bugs in calls to ip4_addr*() where the cast to u8_t* did not reveal the wrong address type


# 1cdafabc 23-Apr-2015 goldsimon <goldsimon@gmx.de>

added missing braces around macro parameters


# beabd3c6 21-Apr-2015 goldsimon <goldsimon@gmx.de>

Added some macros with extension "_val" that work on actual instances and leave away the "if != NULL" check to get rid of gcc "-Waddress" warnings in the core code at least (I might not have caught all of them, yet)


# 902d190a 22-Apr-2015 goldsimon <goldsimon@gmx.de>

Many const fixes throughout the stack (although these are not all, yet)


# ce7e31cd 09-Apr-2015 sg <goldsimon@gmx.de>

task #12722 (improve IPv4/v6 address handling): renamed ip_addr_t to ip4_addr_t, renamed ipX_addr_t to ip_addr_t and added IP version;
ip_addr_t is used for all generic IP addresses for the API, ip(4/6)_addr_t are only used internally or when initializing netifs or when calling version-related functions


# 521c9276 24-Mar-2015 sg <goldsimon@gmx.de>

loopif is not required for loopback traffic any more but passed through any netif (ENABLE_LOOPBACK has to be enabled) (task #13515)


# 9f065c0e 23-Jan-2015 chrysn <chrysn@fsfe.org>

(api break) qualify ip_addr_t as const where feasible

this changes the callback signatures of the ip_output and the
{udp,raw}_recv functions.

changes were made by going through all header files, searching for
occurrences of ip_addr_t, qualifying them as const and if required
modifying the corresponding c files, looking for other uses of ip_addr_t
that would be required.

the following header files were not treated as i'm not using them and
wouldn't see them compiled: api.h api_msg.h dhcp.h dns.h igmp.h
netifapi.h pppapi.h snmp.h snmp_msg.h snmp_structs.h ppp.h pppol2tp.h
test/*

no modifications were done on ip6_addr_t.


# 678dcc2c 01-Sep-2014 goldsimon <goldsimon@gmx.de>

Moved IPv4/IPv6 headers to common include folder, now that their names are unique -> no need to add 3 directories to the include path when compiling lwIP