freebsd-dev/usr.sbin
Bjoern A. Zeeb a245531a29 bridge_snmp.h
* Change the API of bridge_get_basemac to take a maximum buffer length.

bridge_if.c
* Adopt to new API.
* In bridge_attach_newif() remove an additional pointer to the buffer
  by shuffling the code a bit. Also makes the code more readable.

bridge_sys.c
* bridge_get_basemac():
  - Adopt to the new API.
  - Change check for error code of getifaddrs().
  - First check for sa_family != AF_LINK.
  - Copy sockaddr_dl * to get around alignment constraints on some
    platforms.
  - Use strcmp instead of strncmp so that "foo11" != "foo1".
* other functions:
  - Allocate n times of the struct we need instead of arbitrary len,
    cast to the type we want it to be and pass around struct *s instead
    of char *s. This gets us around alignment restrictions on some
    platforms and in addition it is more clear what data is passed around.
  - Name variables for same types consistently.

Reviewed by:    syrinx
2006-12-29 19:23:38 +00:00
..
ac
accton
acpi
adduser Flush my typo fix queue for this directory. 2006-12-05 23:20:14 +00:00
amd
ancontrol
apm
apmd
arlcontrol
arp - Before doing ioctl(SIOCGIFNETMASK) put the proper IP address into the ifreq, 2006-10-13 12:38:43 +00:00
asf Make grammar a bit more consistent in this document. 2006-12-20 06:21:51 +00:00
atm
audit
auditd
auditreduce auditreduce now requires OpenBSM's config/config.h, so add that to the 2006-09-25 11:56:20 +00:00
authpf Do not bypass WARNS machinery by hadcoding -Werror into CFLAGS. 2006-09-21 18:16:22 +00:00
bluetooth Do not mark Bluetooth HID device as a "potential keyboard" if its descriptor 2006-11-27 22:52:11 +00:00
boot0cfg
boot98cfg
bootparamd
bsnmpd bridge_snmp.h 2006-12-29 19:23:38 +00:00
btxld
burncd
cached - When building world WITHOUT_LIBPTHREAD, link libthr to libpthread. 2006-11-26 14:36:34 +00:00
cdcontrol
chkgrp
chown
chroot
ckdist Fix markup and change some layout; no content changes. 2006-12-27 13:52:57 +00:00
config Don't leak files. 2006-10-24 07:12:31 +00:00
cron Behave as documented when reading fields saying "X/Y" where X != * 2006-09-26 18:06:09 +00:00
crunch Back out half of my previous change to support parallel makes. 2006-11-27 01:35:11 +00:00
ctm
daemon
dconschat
devinfo Sync usage() and SYNOPSIS. 2006-09-29 16:46:01 +00:00
digictl
diskinfo
dnssec-keygen
dnssec-signzone
editmap
edquota initialize unitialized variables (WARNS=6) 2006-09-14 04:45:44 +00:00
eeprom Flush my typo fix queue for this directory. 2006-12-05 23:20:14 +00:00
extattr
extattrctl
faithd
fdcontrol Force the use of the tbl(1) preprocessor. 2006-10-25 10:44:59 +00:00
fdformat
fdread Remove unused variables. 2006-07-20 09:38:46 +00:00
fdwrite
flowctl
freebsd-update Add a sentence to the DESCRIPTION noting that updates aren't available 2006-12-26 05:49:06 +00:00
fwcontrol Fix a group of typos: 2006-12-29 13:08:46 +00:00
getfmac
getpmac
gstat Language tweak. 2006-09-29 16:51:29 +00:00
i4b Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of 2006-07-09 21:16:06 +00:00
ifmcstat
inetd Removed T/TCP bits. 2006-09-14 08:36:53 +00:00
iostat Markup fixes. 2006-09-29 17:57:04 +00:00
ip6addrctl
ipfwpcap Change authors e-mail. 2006-11-12 21:43:21 +00:00
IPXrouted Do not use int where socklen_t is expected. 2006-09-21 02:01:46 +00:00
jail Change mount_devfs reference to "mount -t devfs". 2006-11-21 23:45:44 +00:00
jexec Markup fixes. 2006-09-29 17:57:04 +00:00
jls
kbdcontrol Grammar fix from Ceri. 2006-11-16 13:43:05 +00:00
kbdmap Simplify and improve the markup. 2006-12-25 18:36:53 +00:00
kernbb
keyserv
kgmon Correct a typo 2006-06-29 09:18:16 +00:00
kgzip
kldxref Use safe strlcpy rather than unsafe strncpy. After marcel's last fix, 2006-08-05 18:22:11 +00:00
lastlogin
lmcconfig Style. 2006-09-01 09:24:28 +00:00
lpr Obey MK_INET6_SUPPORT. 2006-07-27 14:52:12 +00:00
lptcontrol
mailstats
mailwrapper Markup fixes. 2006-09-29 17:57:04 +00:00
makemap
manctl
memcontrol
mergemaster Add missed SYNOPSIS flag for auto upgrade. 2006-04-30 22:09:47 +00:00
mixer
mld6query These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
mlxcontrol
mount_nwfs Use sysctlbyname() instead of sysctl 2006-05-11 17:23:57 +00:00
mount_portalfs
mount_smbfs
mountd Ignore SIGPIPE, instead of terminating process. 2006-11-18 22:43:20 +00:00
moused Markup fixes. 2006-09-29 17:57:04 +00:00
mptable
mtest
mtree Markup fixes. 2006-09-29 17:57:04 +00:00
named Undefine __DATE__ in order to avoid placing a build timestamp into 2006-08-13 05:32:10 +00:00
named-checkconf
named-checkzone
named.reload
ndiscvt Remove ndisapi.9 Xref. 2006-10-10 07:19:30 +00:00
ndp These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
newsyslog Markup fixes. 2006-09-29 17:57:04 +00:00
nfsd
ngctl Push the detection of threading libs support down to ngctl/Makefile 2006-11-27 16:55:14 +00:00
nghook
nologin
nscd - When building world WITHOUT_LIBPTHREAD, link libthr to libpthread. 2006-11-26 14:36:34 +00:00
ntp Correct the description of minpoll and maxpoll. 2006-12-21 19:08:25 +00:00
nvram Revise markup. 2006-09-30 19:07:03 +00:00
ofwdump
pccard The utility accepts multiple arguments. 2006-11-13 09:12:25 +00:00
pciconf
periodic
pkg_install Markup fixes. 2006-09-29 17:57:04 +00:00
pmccontrol
pmcstat Markup fixes. 2006-09-29 17:57:04 +00:00
pnpinfo Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
portsnap Add support for the HTTP_TIMEOUT environment variable (integer number 2006-11-07 09:18:09 +00:00
powerd
ppp Listen to a control socket on an IPv4 as well through 2006-09-18 03:50:30 +00:00
pppctl
pppd Teach an IPV6CP to pppd(8). 2006-11-12 17:36:58 +00:00
pppstats
praliases
praudit
procctl
pstat
pw Better mdoc(7). Bump doc date. 2006-10-09 19:01:02 +00:00
pwd_mkdb
quot o Check we have a non-NULL pointer to a super block before dereference it. 2006-09-30 07:34:20 +00:00
quotaon
rarpd
raycontrol
repquota
rip6query Do not use int where socklen_t is expected. 2006-09-21 01:41:03 +00:00
rmt
rndc
rndc-confgen
route6d implemented more validation checks about incoming responses per RFC2080, and one additional heuristic check for safer operation. 2006-11-16 19:03:03 +00:00
rpc.lockd Set alarm timer for grace period from the grace_period variable, instead 2006-08-23 15:59:43 +00:00
rpc.statd compile under WARNS=6 2006-09-13 05:01:25 +00:00
rpc.umntall
rpc.yppasswdd
rpc.ypupdated
rpc.ypxfrd o There is no securenets(5) man page, refer to ypserv(8). 2006-11-02 07:36:33 +00:00
rpcbind Bump .Dd for revision 1.8. 2006-11-30 18:06:57 +00:00
rrenumd These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
rtadvd These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
rtprio
rtsold Improve wording for -f and -F. 2006-08-14 08:49:08 +00:00
rwhod
sa
sade Revise markup. 2006-09-30 19:07:03 +00:00
sendmail Catch up with share/mk/bsd.sys.mk rev. 1.38. 2006-09-26 02:18:35 +00:00
setfmac
setpmac
sicontrol
sliplogin
slstat
smbmsg Force the use of the tbl(1) preprocessor. 2006-10-25 10:44:59 +00:00
snapinfo
spkrtest
spray
sysinstall - Add geography and spanish ports categories 2006-12-19 16:46:44 +00:00
syslogd Mark up keywords with .Cm. 2006-10-12 01:59:34 +00:00
tcpdchk
tcpdmatch
tcpdrop
tcpdump De-orbit burn tcpslice. 2006-09-24 09:18:36 +00:00
timed
traceroute Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
traceroute6 These IPv6-only tools have no explicit dependency on the INET6 macro. 2006-07-27 15:31:13 +00:00
trpt Obey MK_INET6_SUPPORT. 2006-07-27 14:52:12 +00:00
tzsetup
ugidfw Add some new options to mac_bsdestended. We can now match on: 2006-04-23 17:06:18 +00:00
usbdevs
vidcontrol Tweak some wording and markup. 2006-12-22 23:23:59 +00:00
vipw
vnconfig
watch
watchdogd Don't exit from watchdogd on receiving a signal if we cannot stop the watchdog. 2006-12-15 22:47:36 +00:00
wicontrol Fix manpage's SYNOPSIS and program's usage(). 2006-10-12 13:01:34 +00:00
wlandebug add rate knob for net80211 rate control modules 2006-11-26 19:56:25 +00:00
wlconfig
wpa add wpa_passphrase utility to the build 2006-11-17 19:38:51 +00:00
yp_mkdb
ypbind
yppoll
yppush Remove unsafe use of asynchronous I/O (the SIGIO handler could cause 2006-08-16 12:58:41 +00:00
ypserv o Re-arrange parentheses and fix a conition logic for !do_dns case. 2006-06-09 14:01:07 +00:00
ypset
zic Normalize MAN. 2006-10-18 12:35:24 +00:00
zzz
Makefile Push the detection of threading libs support down to ngctl/Makefile 2006-11-27 16:55:14 +00:00
Makefile.inc