-/* $OpenBSD: if_pfsync.c,v 1.310 2022/11/11 11:22:48 sashan Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.311 2022/11/11 11:47:13 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
}
int
-pfsync_up(void)
+pfsync_is_up(void)
{
struct pfsync_softc *sc = pfsyncif;
-/* $OpenBSD: if_pfsync.h,v 1.58 2022/11/06 18:05:05 dlg Exp $ */
+/* $OpenBSD: if_pfsync.h,v 1.59 2022/11/11 11:47:13 dlg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
struct pfsync_deferral **);
void pfsync_undefer(struct pfsync_deferral *, int);
-int pfsync_up(void);
+int pfsync_is_up(void);
int pfsync_state_in_use(struct pf_state *);
void pfsync_iack(struct pf_state *);
-/* $OpenBSD: pf.c,v 1.1149 2022/11/11 11:02:35 dlg Exp $ */
+/* $OpenBSD: pf.c,v 1.1150 2022/11/11 11:47:12 dlg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
#if NPFSYNC > 0
if (*sm != NULL && !ISSET((*sm)->state_flags, PFSTATE_NOSYNC) &&
- pd->dir == PF_OUT && pfsync_up()) {
+ pd->dir == PF_OUT && pfsync_is_up()) {
/*
* We want the state created, but we dont
* want to send this in case a partner