ndk: minor update to <netinet/...> headers.
This patch contains a minor update to the netinet headers from the C library. Most of the changes come from later platform release, but can be safely back-ported to previous API levels since they don't change the ABI: - <netinet/icmp6.h>, <netinet/ip6.h>: new headers - <netinet/in.h>: now always include <linux/ipv6.h> by default - <netinet/in6.h>: add macros: IN6_IS_ADDR_ULA, IN6ADDR_LOOPBACK_INIT - <netinet/ip.h>: add macro: IPTOS_MINCOST - <net/if_ether.h>: always include <sys/types.h> by default.
This commit is contained in:
committed by
Andrew Hsieh
parent
ee8746daba
commit
5704b40d70
@@ -83,7 +83,7 @@ struct ip {
|
||||
#define IPTOS_LOWDELAY 0x10
|
||||
#define IPTOS_THROUGHPUT 0x08
|
||||
#define IPTOS_RELIABILITY 0x04
|
||||
/* IPTOS_LOWCOST 0x02 XXX */
|
||||
#define IPTOS_MINCOST 0x02
|
||||
#if 1
|
||||
/* ECN RFC3168 obsoletes RFC2481, and these will be deprecated soon. */
|
||||
#define IPTOS_CE 0x01 /* congestion experienced */
|
||||
|
||||
Reference in New Issue
Block a user