libpfctl.h (9bb06778f822ad6b47d2a825d47e284ca8dd29a1) libpfctl.h (4823489ab61dbaef4405cf03d2a48e77e593ce9c)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2021 Rubicon Communications, LLC (Netgate)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

395 unsigned int *killed);
396int pfctl_kill_states(int dev, const struct pfctl_kill *kill,
397 unsigned int *killed);
398int pfctl_clear_rules(int dev, const char *anchorname);
399int pfctl_clear_nat(int dev, const char *anchorname);
400int pfctl_clear_eth_rules(int dev, const char *anchorname);
401int pfctl_set_syncookies(int dev, const struct pfctl_syncookies *s);
402int pfctl_get_syncookies(int dev, struct pfctl_syncookies *s);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright (c) 2021 Rubicon Communications, LLC (Netgate)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

395 unsigned int *killed);
396int pfctl_kill_states(int dev, const struct pfctl_kill *kill,
397 unsigned int *killed);
398int pfctl_clear_rules(int dev, const char *anchorname);
399int pfctl_clear_nat(int dev, const char *anchorname);
400int pfctl_clear_eth_rules(int dev, const char *anchorname);
401int pfctl_set_syncookies(int dev, const struct pfctl_syncookies *s);
402int pfctl_get_syncookies(int dev, struct pfctl_syncookies *s);
403
403int pfctl_table_add_addrs(int dev, struct pfr_table *tbl, struct pfr_addr
404 *addr, int size, int *nadd, int flags);
405int pfctl_table_del_addrs(int dev, struct pfr_table *tbl, struct pfr_addr
406 *addr, int size, int *ndel, int flags);
407int pfctl_table_set_addrs(int dev, struct pfr_table *tbl, struct pfr_addr
408 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange,
409 int flags);
410int pfctl_table_get_addrs(int dev, struct pfr_table *tbl, struct pfr_addr
411 *addr, int *size, int flags);
404#endif
412#endif