3a5c9aaf2b
This is a painful change, but it is needed. On the one hand, we avoid modifying them, and this slows down some ideas, on the other hand we still eventually modify them and tools like netstat(1) never work on next version of FreeBSD. We maintain a ton of spares in them, and we already got some ifdef hell at the end of tcpcb. Details: - Hide struct inpcb, struct tcpcb under _KERNEL || _WANT_FOO. - Make struct xinpcb, struct xtcpcb pure API structures, not including kernel structures inpcb and tcpcb inside. Export into these structures the fields from inpcb and tcpcb that are known to be used, and put there a ton of spare space. - Make kernel and userland utilities compilable after these changes. - Bump __FreeBSD_version. Reviewed by: rrs, gnn Differential Revision: D10018 |
||
---|---|---|
.. | ||
BEGEMOT-IP-MIB.txt | ||
BEGEMOT-MIB2-MIB.txt | ||
mibII_begemot.c | ||
mibII_ifmib.c | ||
mibII_ifstack.c | ||
mibII_interfaces.c | ||
mibII_ip.c | ||
mibII_ipaddr.c | ||
mibII_nettomedia.c | ||
mibII_rcvaddr.c | ||
mibII_route.c | ||
mibII_tcp.c | ||
mibII_tree.def | ||
mibII_udp.c | ||
mibII.c | ||
mibII.h | ||
snmp_mibII.3 | ||
snmp_mibII.h |