freebsd-nq/sbin/pfctl
Kristof Provost 735748f30a libpfctl: fix creatorid endianness
We provide the hostid (which is the state creatorid) to the kernel as a
big endian number (see pfctl/pfctl.c pfctl_set_hostid()), so convert it
back to system endianness when we get it from the kernel.

This avoids a confusing mismatch between the value the user configures
and the value displayed in the state.

MFC after:	3 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D33989
2022-01-27 09:07:27 +01:00
..
tests pfctl tests: Test fairq configuration 2021-05-20 14:06:23 +02:00
Makefile pfctl: Move ioctl abstraction functions into libpfctl 2021-04-10 11:16:02 +02:00
Makefile.depend
parse.y pfctl: improve error reporting for routehost 2022-01-27 07:36:26 +01:00
pf_print_state.c pfctl: cache getprotobynumber results 2021-07-01 21:31:45 +00:00
pf_ruleset.c pf: match keyword support 2021-07-17 12:01:08 +02:00
pf.os
pfctl_altq.c sys/bitset.h: reduce visibility of BIT_* macros 2021-12-05 23:00:25 +01:00
pfctl_ioctl.h pfctl: Move ioctl abstraction functions into libpfctl 2021-04-10 11:16:02 +02:00
pfctl_optimize.c libpfctl: Switch to pfctl_rule 2021-04-10 11:16:02 +02:00
pfctl_osfp.c
pfctl_parser.c libpfctl: fix creatorid endianness 2022-01-27 09:07:27 +01:00
pfctl_parser.h sys/bitset.h: reduce visibility of BIT_* macros 2021-12-05 23:00:25 +01:00
pfctl_qstats.c
pfctl_radix.c pfctl: Warn users when they run into kernel limits 2019-12-14 02:03:47 +00:00
pfctl_table.c
pfctl.8 pf: Support killing 'matching' states 2021-05-07 22:13:31 +02:00
pfctl.c pfctl: delay label macro expansion until after rule optimisation 2021-10-15 22:19:45 +02:00
pfctl.h pfctl: delay label macro expansion until after rule optimisation 2021-10-15 22:19:45 +02:00