summaryrefslogtreecommitdiff
path: root/include/netinet
AgeCommit message (Collapse)Author
2011-03-03better guard of IPV6 related stuffPeter S. Mazinger
Function prototypes are visible whenever IPV6 option is enabled. Structures and constants are visible either if IPV6 is enabled or STRICT_HEADERS is disabled. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03update some headersPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-03guard IPv6 stuffPeter S. Mazinger
disable IPv6 related stuff if feature is disabled. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2010-01-21ether_line: fix build for socket && !ipBernhard Reutner-Fischer
The internal __ether_line helper needs ether_ntoa_r() Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit 81264e8097b705f3b2a7e29be0a1a2ea853230cb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-11-25ether_*() depend on socket or IP supportBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-25in6_{pktinfo,mtuinfo}: provide type if IPV6 is onBernhard Reutner-Fischer
Disable some IPv6 header defines if IPv6 is off. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19update headers and disable prototypesPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19protocols.h: removePeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19sync some headers and disable unused prototypesPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19use __BYTE_ORDER and __*ENDIANPeter S. Mazinger
Those without the __ prefix are BSD specific. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-07-22add hidden aliases for ntoh/hton functionsMike Frysinger
Sometimes references for these functions show up (like when debugging is enabled), so add hidden aliases for them if needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2008-10-06- hide relocation (Peter S. Mazinger)Bernhard Reutner-Fischer
2008-06-03- adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer
like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
2008-02-28Added support for ether_line, ether_ntohost and ether_hostton.Carmelo Amoroso
Added related test cases. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-01-11cull useless headers and import a few updates from glibcMike Frysinger
2007-09-15sync with glibcMike Frysinger
2006-03-10sync with glibcMike Frysinger
2006-02-22Sync with glibc 2.3.6.Peter Kjellerstedt
2003-10-08Atsushi Nemoto writes:Eric Andersen
I found inappropriate data types are used in some places in networking codes. * tcp_seq is 32bit (u_long -> u_int32_t) * in_addt_t should be used for internet address (unsigned long -> in_addr_t) * socklen_t should be used for accept() This is a patch against uclibc-0.9.21 (can be applied for current CVS). 64bit platforms (sizeof(int)!=sizeof(long)) will need this. I believe this patch does not harm any 32bit platforms.
2001-09-27Be more careful about not redefining stufEric Andersen
2001-09-27re-enable ntohl and friendsEric Andersen
2001-09-27Rev all the header files to sync things with glibc 2.2.4Eric Andersen
2001-07-12Add missing in_addr_tEric Andersen
2001-01-15Makeheader files be more like GNUEric Andersen
2000-10-27More random fixes and additions.Eric Andersen
2000-07-09Add in a bunch of junk. Busybox now compiles (except for mkfs.minix andEric Andersen
fsck.minix). Of course, it doesn't link yet due to missing functions, but hey... At least it is now easy to see what isn't working. :-) -Erik
2000-07-09Revert to the old set of includes.Eric Andersen
-Erik
2000-07-09Temporarily revert to older working set of files.Eric Andersen
-Erik
2000-07-06Some more major updates to further superate ucLibc from the kernelEric Andersen
headers (the way it has been done in GNU libc). -Erik
2000-05-14Initial revisionErik Andersen