-/* $OpenBSD: pf_osfp.c,v 1.33 2016/04/04 16:26:00 sthen Exp $ */
+/* $OpenBSD: pf_osfp.c,v 1.34 2016/07/19 13:34:12 henning Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org>
#include <sys/param.h>
#include <sys/socket.h>
#ifdef _KERNEL
-# include <sys/systm.h>
+#include <sys/systm.h>
#include <sys/pool.h>
#endif /* _KERNEL */
#include <sys/queue.h>
#else /* !_KERNEL */
/* Userland equivalents so we can lend code to tcpdump et al. */
-# include <arpa/inet.h>
-# include <errno.h>
-# include <stdio.h>
-# include <stdlib.h>
-# include <string.h>
-# include <netdb.h>
-# define pool_t int
-# define pool_get(pool, flags) malloc(*(pool))
-# define pool_put(pool, item) free(item)
-# define pool_init(pool, size, a, ao, f, m, p) (*(pool)) = (size)
-
-# ifdef PFDEBUG
-# include <sys/stdarg.h> /* for DPFPRINTF() */
-# endif /* PFDEBUG */
+#include <arpa/inet.h>
+#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <netdb.h>
+#define pool_t int
+#define pool_get(pool, flags) malloc(*(pool))
+#define pool_put(pool, item) free(item)
+#define pool_init(pool, size, a, ao, f, m, p) (*(pool)) = (size)
-#endif /* _KERNEL */
+#ifdef PFDEBUG
+#include <sys/stdarg.h> /* for DPFPRINTF() */
+#endif /* PFDEBUG */
+#endif /* _KERNEL */
SLIST_HEAD(pf_osfp_list, pf_os_fingerprint) pf_osfp_list;
pool_t pf_osfp_entry_pl;
-/* $OpenBSD: pf_ruleset.c,v 1.11 2016/01/15 02:37:12 mmcc Exp $ */
+/* $OpenBSD: pf_ruleset.c,v 1.12 2016/07/19 13:34:12 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
#include <sys/param.h>
#include <sys/socket.h>
#ifdef _KERNEL
-# include <sys/systm.h>
-# include <sys/mbuf.h>
+#include <sys/systm.h>
+#include <sys/mbuf.h>
#endif /* _KERNEL */
#include <sys/syslog.h>
#else /* !_KERNEL */
/* Userland equivalents so we can lend code to pfctl et al. */
-# include <arpa/inet.h>
-# include <errno.h>
-# include <stdio.h>
-# include <stdlib.h>
-# include <string.h>
-# define rs_malloc(x) calloc(1, x)
-# define rs_free(x) free(x)
+#include <arpa/inet.h>
+#include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#define rs_malloc(x) calloc(1, x)
+#define rs_free(x) free(x)
-# ifdef PFDEBUG
-# include <sys/stdarg.h> /* for DPFPRINTF() */
-# endif /* PFDEBUG */
+#ifdef PFDEBUG
+#include <sys/stdarg.h> /* for DPFPRINTF() */
+#endif /* PFDEBUG */
#endif /* _KERNEL */