freebsd-dev/usr.bin/netstat
Kajetan Staszkiewicz 4bf98559d9 pf: make contents of struct pfsync_state configurable
Make struct pfsync_state contents configurable by sending out new
versions of the structure in separate subheader actions. Both old and
new version of struct pfsync_state can be understood, so replication of
states from a system running an older kernel is possible. The version
being sent out is configured using ifconfig pfsync0 … version XXXX. The
version is an user-friendly string - 1301 stands for FreeBSD 13.1 (I
have checked synchronization against a host running 13.1), 1400 stands
for 14.0.

A host running an older kernel will just ignore the messages and count
them as "packets discarded for bad action".

Reviewed by:	kp
Sponsored by:	InnoGames GmbH
Differential Revision:	https://reviews.freebsd.org/D39392
2023-05-30 14:28:56 +02:00
..
bpf.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
common.c usr.bin/netstat: use roundup2 when rounding up to power of 2. 2021-05-02 09:30:22 -07:00
common.h netstat: export weight for single-path routes. 2023-01-29 16:27:31 +00:00
if.c pf: make contents of struct pfsync_state configurable 2023-05-30 14:28:56 +02:00
inet6.c netinet6: Fix mbuf leak in NDP 2022-05-31 21:06:14 +00:00
inet.c netstat: fix printing of TCP pcbs with -A 2023-04-20 12:42:42 -07:00
ipsec.c ipsec(4): Fix a few typos in error messages 2022-02-06 13:43:42 +01:00
main.c netstat: cleanup 2023-04-20 23:52:19 +02:00
Makefile netlink: add NETLINK/NETLINK_SUPPORT userland options. 2023-03-26 08:59:58 +00:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
mbuf.c
mroute6.c netstat: Use valid prototypes for function declarations with no arguments. 2023-04-24 08:53:50 -07:00
mroute.c netstat: Use valid prototypes for function declarations with no arguments. 2023-04-24 08:53:50 -07:00
netgraph.c
netisr.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netstat.1 netstat: document that PCB information can't be read from corefiles 2023-04-19 12:15:35 +02:00
netstat.h divert(4): provide statistics 2022-08-30 15:09:21 -07:00
nhgrp.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
nhops.c netstat: fix nhop prepend printing. 2021-12-26 15:05:10 +00:00
nlist_symbols netstat: cleanup 2023-04-20 23:52:19 +02:00
pfkey.c
route_netlink.c netlink: use newly-added snl(3) array parsing for handling multipath 2023-05-27 11:13:14 +00:00
route.c netlink: add NETLINK/NETLINK_SUPPORT userland options. 2023-03-26 08:59:58 +00:00
sctp.c
unix.c