freebsd-nq/sys
Marcel Moolenaar 75387a278e Have SIOCGIFCONF return all (if any) AF_INET addresses for the
interfaces we encounter. In Linux, all addresses are returned for
which gifconf handlers are installed. This boils down to AF_DECnet
and AF_INET. We care mostly about AF_INET for now. Adding additional
families is simple enough.

Returning the addresses is important for RPC clients to function
properly. Andrew found in some reference code that the logic that
handles the retransmission looks for an interface that's up and has
an AF_INET address. This obviously failed as we didn't return any
addresses at all.

Note also that with this change we don't return interfaces that don't
have AF_INET addresses, whereas before we returned any interface
present in the system. This is in line with what Linux does (modulo
interfaces with only AF_DECnet addresses of course :-)

Reported by: "Andrew Atrens" <atrens@nortelnetworks.com>
MFC after: 1 week
2002-01-29 06:00:11 +00:00
..
alpha Regenerated file from previous commit to syscalls.master 2002-01-23 22:47:47 +00:00
amd64 List bit 18 (reserved, apparently present on thunderbird cpus) 2002-01-22 01:28:32 +00:00
arm We need machine/{signal,ucontext}.h to build a cross GCC compiler. 2001-12-09 19:39:49 +00:00
boot CG hard sentence breaks. 2002-01-23 09:35:55 +00:00
cam Define the kern.cam sysctl in the cam layer, rather than multiply in several 2002-01-09 03:39:04 +00:00
coda Staticise the coda vfsop pointer. 2002-01-08 19:33:51 +00:00
compat Have SIOCGIFCONF return all (if any) AF_INET addresses for the 2002-01-29 06:00:11 +00:00
conf Enable pccard support. 2002-01-28 13:13:14 +00:00
contrib Backout inclusion of queue.h since rev 1.38 sys/file.h now has it 2002-01-14 09:07:15 +00:00
crypto fixed the cast128 calculation with a short cipher key length. 2001-11-27 14:11:47 +00:00
ddb pid is 'long' on alpha. 2002-01-17 02:14:44 +00:00
dev Grr. The last commit contained update conflicts. It just goes to 2002-01-29 02:49:15 +00:00
fs Fix select on fifos. 2002-01-14 22:03:48 +00:00
geom Reduce kernel stack usage of ccdinit() by MAXPATHLEN by using MALLOC(9). 2001-12-30 17:34:19 +00:00
gnu Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
i4b Make call_desc[] extern since it's also defined in layer4/i4b_l4mgmt.c 2002-01-13 19:16:52 +00:00
i386 Unbreak pcvt, it suffered from common variables. Whoever added the 2002-01-27 09:17:27 +00:00
ia64 Add a definition of ddb_regs. ddb_regs is declared as extern in 2002-01-18 07:55:23 +00:00
isa Use the new resource_list_print_type() function. 2001-12-21 21:54:56 +00:00
isofs/cd9660 Fix mounting root from a ISO9660 filesystem on a SCSI CDROM. 2001-11-27 03:55:43 +00:00
kern Be more conservative about interrupt latency, it aint getting better it seems. 2002-01-25 21:22:34 +00:00
libkern rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
modules remove modules no longer built 2002-01-23 03:43:16 +00:00
net Prevent the kernel from generating an unaligned sysctl data buffer on 2002-01-27 20:39:01 +00:00
netatalk Make `options NETATALK' compile after the -fno-common changes. 2002-01-16 11:26:50 +00:00
netatm Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netgraph Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
netinet The ipfw(8) 'tee' action simply hasn't worked on incoming packets for 2002-01-26 10:14:08 +00:00
netinet6 - Check the address family of a cached destination, in case of 2002-01-21 20:02:36 +00:00
netipx Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netkey Newer SA is prefered for a out-bound packet than old one 2001-12-05 05:40:49 +00:00
netnatm Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netncp Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
netns Initialise the intrq_present fields at runtime, not link time. This allows 2002-01-08 10:34:03 +00:00
netsmb SMP Lock struct file, filedesc and the global file list. 2002-01-13 11:58:06 +00:00
nfs When the old nfsm_adv() macro was moved to nfsm_adv_xx(), a '>=' 2001-12-31 06:56:31 +00:00
nfsclient Revise the nfsiod auto tuning code. Now both the upper and lower limits 2002-01-15 20:57:21 +00:00
nfsserver The vnode was not being vput()'d in the EEXIST mknod case on the nfs 2002-01-14 19:14:08 +00:00
pc98 MFi386: revision 1.64 2002-01-18 03:33:52 +00:00
pccard The datasheet for the 6710/6722 says that you must use one method to 2002-01-14 14:10:13 +00:00
pci Forgot one part of the VLAN support for the dc(4) driver. 2002-01-16 21:34:11 +00:00
posix4 KSE Milestone 2 2001-09-12 08:38:13 +00:00
powerpc Simple fixes to get the powerpc kernel compiling again. 2002-01-28 14:07:36 +00:00
rpc
security/lomac s/sonewconn3/sonewconn/ forgotten by the modifier. 2001-12-26 18:31:22 +00:00
sparc64 Add extern to avoid sloppy common style declarations. 2002-01-16 14:28:50 +00:00
svr4
sys Bump __FreeBSD_version for sendfile fix to properly send 'nbytes' of 2002-01-29 01:52:30 +00:00
tools Throw the $FreeBSD$s back in, properly escaping them. 2002-01-04 05:27:47 +00:00
ufs Add a stub for softdep_request_cleanup() so that compilation without 2002-01-23 02:18:56 +00:00
vm Remove a parameter name from a prototype. 2002-01-25 21:33:10 +00:00
Makefile