pfctl_radix.c (4823489ab61dbaef4405cf03d2a48e77e593ce9c) pfctl_radix.c (d74024a490c877c6b5c7a2de7a69dcfa9486162f)
1/* $OpenBSD: pfctl_radix.c,v 1.27 2005/05/21 21:03:58 henning Exp $ */
2
3/*-
4 * SPDX-License-Identifier: BSD-2-Clause
5 *
6 * Copyright (c) 2002 Cedric Berger
7 * All rights reserved.
8 *

--- 42 unchanged lines hidden (view full) ---

51#include <err.h>
52
53#include "pfctl.h"
54
55#define BUF_SIZE 256
56
57extern int dev;
58
1/* $OpenBSD: pfctl_radix.c,v 1.27 2005/05/21 21:03:58 henning Exp $ */
2
3/*-
4 * SPDX-License-Identifier: BSD-2-Clause
5 *
6 * Copyright (c) 2002 Cedric Berger
7 * All rights reserved.
8 *

--- 42 unchanged lines hidden (view full) ---

51#include <err.h>
52
53#include "pfctl.h"
54
55#define BUF_SIZE 256
56
57extern int dev;
58
59static int pfr_next_token(char buf[], FILE *);
59static int pfr_next_token(char buf[BUF_SIZE], FILE *);
60
61static void
62pfr_report_error(struct pfr_table *tbl, struct pfioc_table *io,
63 const char *err)
64{
65 unsigned long maxcount;
66 size_t s;
67

--- 511 unchanged lines hidden ---
60
61static void
62pfr_report_error(struct pfr_table *tbl, struct pfioc_table *io,
63 const char *err)
64{
65 unsigned long maxcount;
66 size_t s;
67

--- 511 unchanged lines hidden ---