summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/Makefile.inc
Commit message (Collapse)AuthorAgeFilesLines
* Fix bad rule and bad dependency for nsparser.h that canru2007-11-151-6/+3
| | | | | | | | | | | cause the build to fail because y.tab.c can have a more recent modification time than y.tab.h, and the bad rule relied on the opposite. (The last write to y.tab.c by yacc(1) happens after the last write to y.tab.h, according to truss(1).) Reported by: kensmith
* Fix yet another (make install) stopper with wrong sourcefilter.3 linksache2007-06-121-2/+2
|
* Fix typo in filename from mismerged earlier rev of this file.bms2007-06-121-1/+1
|
* Import rewrite of IPv4 socket multicast layer to support source-specificbms2007-06-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and protocol-independent host mode multicast. The code is written to accomodate IPv6, IGMPv3 and MLDv2 with only a little additional work. This change only pertains to FreeBSD's use as a multicast end-station and does not concern multicast routing; for an IGMPv3/MLDv2 router implementation, consider the XORP project. The work is based on Wilbert de Graaf's IGMPv3 code drop for FreeBSD 4.6, which is available at: http://www.kloosterhof.com/wilbert/igmpv3.html Summary * IPv4 multicast socket processing is now moved out of ip_output.c into a new module, in_mcast.c. * The in_mcast.c module implements the IPv4 legacy any-source API in terms of the protocol-independent source-specific API. * Source filters are lazy allocated as the common case does not use them. They are part of per inpcb state and are covered by the inpcb lock. * struct ip_mreqn is now supported to allow applications to specify multicast joins by interface index in the legacy IPv4 any-source API. * In UDP, an incoming multicast datagram only requires that the source port matches the 4-tuple if the socket was already bound by source port. An unbound socket SHOULD be able to receive multicasts sent from an ephemeral source port. * The UDP socket multicast filter mode defaults to exclusive, that is, sources present in the per-socket list will be blocked from delivery. * The RFC 3678 userland functions have been added to libc: setsourcefilter, getsourcefilter, setipv4sourcefilter, getipv4sourcefilter. * Definitions for IGMPv3 are merged but not yet used. * struct sockaddr_storage is now referenced from <netinet/in.h>. It is therefore defined there if not already declared in the same way as for the C99 types. * The RFC 1724 hack (specify 0.0.0.0/8 addresses to IP_MULTICAST_IF which are then interpreted as interface indexes) is now deprecated. * A patch for the Rhyolite.com routed in the FreeBSD base system is available in the -net archives. This only affects individuals running RIPv1 or RIPv2 via point-to-point and/or unnumbered interfaces. * Make IPv6 detach path similar to IPv4's in code flow; functionally same. * Bump __FreeBSD_version to 700048; see UPDATING. This work was financially supported by another FreeBSD committer. Obtained from: p4://bms_netdev Submitted by: Wilbert de Graaf (original work) Reviewed by: rwatson (locking), silence from fenner, net@ (but with encouragement)
* Add inet_ntoa_r, a reentrant version of inet_ntoa. This isdelphij2007-06-111-1/+1
| | | | | | available on a lot of platforms, as well as libkern for years. Submitted by: "MQ"
* Nuke ascii2addr() and addr2ascii(). They have no consumers anywherebms2007-02-281-3/+2
| | | | | | | | | | | | | | in FreeBSD, and originated from INRIA IPv6. Stub out netstat reference to addr2ascii() I mistakenly introduced. Update misleading man page sections. Merge NetBSD's getnameinfo() AF_LINK extensions for a portable way to print link-layer addresses given a sockaddr_dl(), minus the IEEE 1394 bits which don't map directly to our code. Obtained from: NetBSD (getnameinfo.c) Discussed on: current (March 2006)
* First cut of the sctp man pages. Still need work.rrs2007-02-221-1/+8
|
* This adds the "system calls"rrs2006-12-151-1/+2
| | | | | | | | | | | | | | | | | | | | sctp_getaddrlen() sctp_connectx() sctp_bindx() sctp_opt_info() sctp_getpaddrs() sctp_freepaddrs() sctp_getladdrs() sctp_freeladdrs() sctp_sendmsg() sctp_getassocid() sctp_send() sctp_sendx() sctp_sendmsgx() sctp_recvmsg() sctp_peeloff() Manual pages will be forthcoming (and the commit to porters-handbook)
* Instead of re-implementing hton[ls] and friends for each arch, add a new MIcognet2006-11-061-8/+3
| | | | | | | file, net/ntoh.c, which just implement them using the inline functions from <sys/endian.h>. Suggested by: bde
* Respect MK_INET6_SUPPORT.yar2006-07-261-1/+5
|
* Upgrade res_update(3) and the friends to BIND9's one excluding TSIGume2006-05-211-3/+0
| | | | | | support. X-MFC after: never
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-281-2/+5
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* Update the resolver in libc to BIND9's one.ume2006-03-211-9/+10
| | | | | | | | | | | | | | | | | | | | | | Since, res_sendsigned(3) and the friends use MD5 functions, it is hard to include them without having MD5 functions in libc. So, res_sendsigned(3) is not merged into libc. Since, res_update(3) in BIND9 is not binary compatible with our res_update(3), res_update(3) is leaved as is, except some necessary modifications. The res_update(3) and the friends are not essential part of the resolver. They are not defined in resolv.h but defined in res_update.h separately in BIND9. Further, they are not called from our tree. So, I hide them from our resolv.h, but leave them only for binary backward compatibility (perhaps, no one calls them). Since, struct __res_state_ext is not exposed in BIND9, I hide it from our resolv.h. And, global variable _res_ext is removed. It breaks binary backward compatibility. But, since it is not used from outside of our libc, I think it is safe. Reviewed by: arch@ (no objection)
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+1
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Add each directory's symbol map file to SYM_MAPS.deischen2006-03-131-0/+2
|
* Respect the YES_HESIOD build variable.phk2005-08-061-2/+8
|
* separate gai_strerror(3) from getaddrinfo.c.ume2005-04-061-1/+2
| | | | Requested by: phantom
* Fix a dangling MKLINK from my last commit.gnn2005-01-241-1/+1
| | | | Approved by: rwatson (mentor)
* Submitted by: George V. Neville-Neil (gnn at freebsd dot org)gnn2005-01-231-2/+2
| | | | | | | | | Approved by: Robert Watson (robert at freebsd dot org) Remove files in preparation for replacement with totally new versions of the manual pages. Update the Makefile to handle the new file to be added.
* Add support for an /etc/eui64 file modeled on /etc/ethers. The API isbrooks2004-05-261-2/+5
| | | | | | modeled on ethers(3) except that all functions are thread-safe. Reviewed by: simokawa
* Add the userland part of the NET_RT_IFMALIST sysctl MIB. A new function,bms2003-11-141-2/+3
| | | | | | getifmaddrs(), is added to retrieve current multicast group memberships. Reviewed by: harti
* Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542ume2003-10-241-2/+14
| | | | | | | | | | (aka RFC2292bis). Though I believe this commit doesn't break backward compatibility againt existing binaries, it breaks backward compatibility of API. Now, the applications which use Advanced Sockets API such as telnet, ping6, mld6query and traceroute6 use RFC3542 API. Obtained from: KAME
* = Implement name service switch modules (NSS modules). NSS modulesnectar2003-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | may be built into libc (`static NSS modules') or dynamically loaded via dlopen (`dynamic NSS modules'). Modules are loaded/initialized at configuration time (i.e. when nsdispatch is called and nsswitch.conf is read or re-read). = Make the nsdispatch(3) core thread-safe. = New status code for nsdispatch(3) `NS_RETURN', currently used to signal ERANGE-type issues. = syslog(3) problems, don't warn/err/abort. = Try harder to avoid namespace pollution. = Implement some shims to assist in porting NSS modules written for the GNU C Library nsswitch interface. Sponsored by: DARPA, Network Associates Laboratories
* Remove NS and ISO stuff.peter2003-03-051-6/+2
|
* Add an implementation of the POSIX.1 sockatmark(3).fenner2002-12-131-2/+2
|
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-5/+3
|
* Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex()ume2002-07-151-1/+1
| | | | | | | and if_freenameindex(). Obtained from: KAME MFC after: 2 weeks
* Allow users to specify a command to use as remote command instead ofimp2001-10-231-2/+2
| | | | | | | | | | using rcmd directly. This has been in my tree for a long time, but we may need to sync with OpenBSD before MFC. Obtained from: openbsd PR: 15830 MFC after: 2 months
* Add manpage for inet_net_ntop(3) and inet_net_pton(3).ru2001-08-311-1/+3
| | | | Obtained from: NetBSD
* Only pull in the MD files if they exist. This allows for progressivemp2001-07-311-0/+2
| | | | implementation and compilation when bringing up a new architecture.
* Document more resolver(3) routines: dn_skip() from resolv.h, andtobez2001-07-091-1/+3
| | | | | | | ns_get16(), ns_get32(), ns_put16(), and ns_put32() from arpa/nameser.h. Markup by: ru OK'ed by: markm
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* add getifaddrs(3) from bsdi. this is a magic function which lets you grabitojun2000-07-051-2/+3
| | | | | | interface addresses in a portable manner, without headache of SIOCGIFCONF or sysctl. it is in bsdi/openbsd/netbsd already. from kame tree (actually, mandatory for latest kame tree).
* Merge from NetBSD. Addition of inet_ntop() and inet_pton() description.shin2000-03-121-2/+3
| | | | | | Specified by: Robert Muir <rmuir@looksharp.net> Obtained from: NetBSD
* Cosmetic fix. Re-order MLINKS for if_indextoname.3 and inet.3 as alphabeticalshin2000-03-121-2/+2
| | | | order.
* Correct MLINKS contents for rcmd.3, because it is obsolete due toshin2000-03-121-3/+4
| | | | | | | recent changes to rcmd.3. links to iruserok_af.3, ruserok_af.3 are removed. link to iruserok_sa.3 is added.
* Import from KAME. Advanced API related function descriptions.shin2000-03-121-1/+14
| | | | Obtained from: KAME project
* several tcp apps IPv6 updateshin2000-01-251-1/+3
| | | | | | | | | | | | -inetd -rshd -rlogind -telnetd -rsh -rlogin Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-281-4/+10
| | | | | | | Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* KAME 4th patchshin1999-12-161-4/+8
| | | | | | | | IPv6 specific library functions addition. (getnameinfo(), getaddrinfo(), and IPv6 transport support is not yet) Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Implement the weak aliases for private entry points in the inet_*jdp1998-09-021-2/+2
| | | | | | | | | | | and res_* modules in a way that works for ELF. I moved the aliases out of res_stubs.c and into the individual modules where the entry points are defined. Weak aliases don't work in ELF unless that is the case. (Actually, I'm surprised it worked for a.out.) This should fix the undefined "inet_addr" and related symbols in various applications that fail to include <arpa/inet.h> or <resolv.h> as they are supposed to do.
* Update the resolver parts to bind-8.1.2 level. I have not touched thepeter1998-06-111-4/+5
| | | | | | getXXXXbyYYYY() interfaces yet. Obtained from: diff relative to bind-8.1.2 sources
* Change MACHINE references to MACHINE_ARCH.jb1998-02-201-3/+3
|
* Sorted lists.bde1997-10-211-20/+19
|
* Removed the subdirectory paths from the definitions of MAN[1-9]. Theybde1997-10-151-7/+5
| | | | | were a workaround for limitations in bsd.man.mk that were fixed about 2 years ago.
* Changed all paths to be relative to src/lib instead of src/lib/libcjb1997-05-031-3/+7
| | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
* Here goes.. Bring the 4.9.5-P1 resolver into -current. This has thepeter1996-12-301-3/+5
| | | | | DNSSEC stuff, among other things. There are also some renamed functions, I've left out the res_stubs.c from this commit in case cvs bombs out..
* Correct some xrefs/mlinks.mpp1996-12-141-1/+2
|
OpenPOWER on IntegriCloud