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:
David 'Digit' Turner
2012-01-09 13:43:30 +01:00
committed by Andrew Hsieh
parent ee8746daba
commit 5704b40d70
6 changed files with 1058 additions and 1 deletions

View File

@@ -34,6 +34,8 @@
#ifndef _NET_IF_ETHER_H_
#define _NET_IF_ETHER_H_
#include <sys/types.h>
#ifdef _KERNEL
#ifdef _KERNEL_OPT
#include "opt_mbuftrace.h"