summaryrefslogtreecommitdiffstats
path: root/sys/net/if_pfsync.h
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2010-11-29 05:31:38 +0000
committerdlg <dlg@openbsd.org>2010-11-29 05:31:38 +0000
commit715f5bf131320c2aafedcfbf83423286535a1746 (patch)
treedbba28ddcfb11640f737a7f15e7203977d40195f /sys/net/if_pfsync.h
parentNow that we have proper .de support in the roff(7) library, (diff)
downloadwireguard-openbsd-715f5bf131320c2aafedcfbf83423286535a1746.tar.xz
wireguard-openbsd-715f5bf131320c2aafedcfbf83423286535a1746.zip
get rid of struct pfsync_pkt. it was used to store data on the stack to
pass to all the submessage handlers, but only the flags part of it was ever used. just pass the flags directly instead.
Diffstat (limited to 'sys/net/if_pfsync.h')
-rw-r--r--sys/net/if_pfsync.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pfsync.h b/sys/net/if_pfsync.h
index ba83a6607ff..c22e14a8819 100644
--- a/sys/net/if_pfsync.h
+++ b/sys/net/if_pfsync.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.h,v 1.43 2010/07/09 16:58:06 reyk Exp $ */
+/* $OpenBSD: if_pfsync.h,v 1.44 2010/11/29 05:31:38 dlg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -292,7 +292,7 @@ int pfsync_sysctl(int *, u_int, void *, size_t *,
#define PFSYNC_SI_IOCTL 0x01
#define PFSYNC_SI_CKSUM 0x02
#define PFSYNC_SI_ACK 0x04
-int pfsync_state_import(struct pfsync_state *, u_int8_t);
+int pfsync_state_import(struct pfsync_state *, int);
void pfsync_state_export(struct pfsync_state *,
struct pf_state *);