diff options
author | glebius <glebius@FreeBSD.org> | 2011-12-13 07:02:48 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-12-13 07:02:48 +0000 |
commit | 7dc7dd3b65d9f5c3d07fbe6468ead93905680415 (patch) | |
tree | 998264e46e71cf5f9f97b72adaaf10fcb2a98020 /sys/netinet/tcp_debug.c | |
parent | a062915218483c942df59640fd758d6550161445 (diff) | |
download | FreeBSD-src-7dc7dd3b65d9f5c3d07fbe6468ead93905680415.zip FreeBSD-src-7dc7dd3b65d9f5c3d07fbe6468ead93905680415.tar.gz |
Some cleanup of BOOTP code. Initially I wanted to just change the ifioctl()
usage, but end up with more changes.
- Use SIOCAIFADDR instead of old rusty SIOCSIFADDR, SIOCSIFBRDADDR
and SIOCSIFNETMASK.
- Use queue(9) instead of hand made stailq.
- Use one socket for all ifioctl() and send/receive operations.
- Use __func__ instead of cut-n-paste in logging and panics.
- Axe some dead or strange code.
Tested by: gonzo, Stefan Bethke <stb lassitu.de>
Diffstat (limited to 'sys/netinet/tcp_debug.c')
0 files changed, 0 insertions, 0 deletions