freebsd-src/lib/libpfctl
Kristof Provost 7ed19f5c77 libpfctl: grow request buffer on ENOSPC
When we issue a request to pf and expect a serialised nvlist as a reply
we have to supply a suitable buffer to the kernel.
The required size for this buffer is difficult to predict, and may be
(slightly) different from request to request.
If it's insufficient the kernel will return ENOSPC. Teach libpfctl to
catch this and send the request again with a larger buffer.

MFC after:	2 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D34908
2022-04-20 10:51:39 +02:00
..
libpfctl.c libpfctl: grow request buffer on ENOSPC 2022-04-20 10:51:39 +02:00
libpfctl.h libpfctl: relocate implementations of pfr_add/get/set_addrs 2022-04-04 19:14:23 +02:00
Makefile libpfct: Fix PIC flag 2021-04-17 22:10:13 +02:00