mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-09 17:13:49 +08:00
Merge branch 'master' into ppp-new
This commit is contained in:
@@ -328,13 +328,6 @@ PACK_STRUCT_END
|
||||
# include "arch/epstruct.h"
|
||||
#endif
|
||||
|
||||
/* the possible states of an IP address */
|
||||
#define IP6_ADDRESS_STATE_INVALID (0)
|
||||
#define IP6_ADDRESS_STATE_VALID (0x4)
|
||||
#define IP6_ADDRESS_STATE_PREFERRED (0x5) /* includes valid */
|
||||
#define IP6_ADDRESS_STATE_DEPRECATED (0x6) /* includes valid */
|
||||
#define IP6_ADDRESS_STATE_TENTATIV (0x8)
|
||||
|
||||
/** 1 second period */
|
||||
#define ND6_TMR_INTERVAL 1000
|
||||
|
||||
|
||||
@@ -370,7 +370,7 @@ void netif_poll_all(void);
|
||||
#define netif_ip6_addr(netif, i) (&((netif)->ip6_addr[(i)]))
|
||||
#define netif_ip6_addr_state(netif, i) ((netif)->ip6_addr_state[(i)])
|
||||
#define netif_ip6_addr_set_state(netif, i, state) ((netif)->ip6_addr_state[(i)] = (state))
|
||||
s8_t netif_matches_ip6_addr(struct netif * netif, ip6_addr_t * ip6addr);
|
||||
s8_t netif_get_ip6_addr_match(struct netif * netif, ip6_addr_t * ip6addr);
|
||||
void netif_create_ip6_linklocal_address(struct netif * netif, u8_t from_mac_48bit);
|
||||
#endif /* LWIP_IPV6 */
|
||||
|
||||
|
||||
@@ -1484,6 +1484,13 @@
|
||||
#define LWIP_SOCKET 1
|
||||
#endif
|
||||
|
||||
/* LWIP_SOCKET_SET_ERRNO==1: Set errno when socket functions cannot complete
|
||||
* successfully, as required by POSIX. Default is POSIX-compliant.
|
||||
*/
|
||||
#ifndef LWIP_SOCKET_SET_ERRNO
|
||||
#define LWIP_SOCKET_SET_ERRNO 1
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_COMPAT_SOCKETS==1: Enable BSD-style sockets functions names.
|
||||
* (only used if you use sockets.c)
|
||||
@@ -1707,6 +1714,7 @@
|
||||
#else
|
||||
|
||||
#define LINK_STATS 0
|
||||
#define ETHARP_STATS 0
|
||||
#define IP_STATS 0
|
||||
#define IPFRAG_STATS 0
|
||||
#define ICMP_STATS 0
|
||||
|
||||
Reference in New Issue
Block a user