summaryrefslogtreecommitdiffstats
path: root/libc/include/netinet
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'jb-mr1-release' of ↵Steve Kondik2012-11-182-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/bionic into mr1 Conflicts: libc/Android.mk libc/bionic/system_properties.c libc/kernel/common/linux/msm_mdp.h libc/tools/gensyscalls.py libm/Android.mk linker/linker.c Change-Id: I11944300d7fcf2fd9dc587d8c7a937bf5366bcc0
| * Update the kernel headers to match external/kernel-headers.Elliott Hughes2012-09-122-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that the Linux kernel handed over responsibility for most of the socket constants to glibc some time ago. Someone had updated our external/kernel-headers file but not regenerated the bionic headers, so this change copies the missing stuff from the old bionic <linux/socket.h> into <sys/socket.h>. This is what glibc does. I've hacked a few of the other files to #include <sys/socket.h> for backward compatibility, but even so this requires numerous other changes to switch people over from direct inclusion of <linux/...> headers. Change-Id: I0e4af64e631d3cef911a31d90f2f806e058278a0
* | bionic: Fix aliasing violationsBernhard Rosenkraenzer2012-07-101-17/+17
|/ | | | | | | | | | | | | | This makes bionic compile with compilers enforcing strict adherence to aliasing rules (e.g. gcc 4.6 with -Wstrict-aliasing=2 -Werror=strict-aliasing). Conflicts: libc/netbsd/resolv/res_send.c Change-Id: I640bafe9fef399f856c9e57cb0ab877e8656e522 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Signed-off-by: Evan McClain <aeroevan@gmail.com>
* libc: enable IPTOS_MINCOST, fixup gethostbyaddr() proto.JP Abgrall2011-05-181-1/+1
| | | | | | | | Make netinet/ip.h have IPTOS_MINCOST which matches what kernel/common/linux/ip.h has to say. Fixup gethostbyaddr() 1st arg to match what man has to say. Change-Id: Iff9647d4a46ea88b1fc32163eb69bb9b27cdf370
* Add icmp6.h and ip6.h files from current NetBSD libc.Steinar H. Gunderson2011-01-282-0/+1049
| | | | Change-Id: I6b304dfbefaec74c5fb15b216f38d698a55f0642
* Include the Linux ipv6.h header from netinet/in.h, to get things like ↵Steinar H. Gunderson2011-01-281-0/+1
| | | | | | in6_pktinfo. Change-Id: I4a3c2035ff8e2846352345580756a1bdc2768ec4
* Add IN6ADDR_LOOPBACK_INIT macro to <netinet/in6.h>, as the kernel headers do ↵Steinar H. Gunderson2011-01-281-0/+1
| | | | | | not provide it anymore. Change-Id: I5af12b3f38097ed165e64a408253dc375aa605d7
* Add a new #define IN6_IS_ADDR_ULA, for testing for Universal Local IPv6 ↵Steinar H. Gunderson2011-01-051-0/+4
| | | | | | Unicast addresses (ULAs). These replace the old site-local IPv6 addresses. Change-Id: I2656423764569d07b92b8eb8fe6dcad6eba5b0bb
* libc: Add missing declarations in <netinet/in.h>David 'Digit' Turner2010-12-162-1/+8
| | | | | | | | | | | | | Add missing declarations: INET_ADDRSTRLEN IN6_IS_ADDR_MC_NODELOCAL IN6_IS_ADDR_MC_GLOBAL It has been reported that these prevent compilation of the Boost libraries with the NDK. The corresponding patch has already been performed under development/ndk/platforms/android-3/include. Change-Id: I4ac514973daf3c06a8ef5538d7df79142a98e562
* Make IPv6 definitions comply with RFC 3493:Lorenzo Colitti2009-06-162-0/+12
| | | | | - Add some definitions to netinet/in6.h - Include netinet/in6.h from netinet/in.h
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-0/+835
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-835/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-172-2/+33
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-219-0/+804