]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfsync: Expose PFSYNCF_OK flag to userspace
authorKristof Provost <kp@FreeBSD.org>
Fri, 23 Apr 2021 12:24:59 +0000 (14:24 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 26 Apr 2021 12:31:17 +0000 (14:31 +0200)
commit5f5bf88949df421ec3ccd7e14a999e8d8b9251bf
tree90602ac8de5a4ed6fe71a21062238a1a0369e128
parent5632f585355ad380cb9ef932c419e2efdb1fc46b
pfsync: Expose PFSYNCF_OK flag to userspace

Add 'syncok' field to ifconfig's pfsync interface output. This allows
userspace to figure out when pfsync has completed the initial bulk
import.

Reviewed by: donner
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29948
sbin/ifconfig/ifpfsync.c
sys/net/if_pfsync.h
sys/netpfil/pf/if_pfsync.c