|
version 1.8, 2022/08/13 18:16:39
|
version 1.10, 2022/08/18 13:02:13
|
|
Line 1
|
Line 1
|
| /************************************************************************* | /*- |
| * (C) 2022 CloudSigma AG - Sofia/Bulgaria | * SPDX-License-Identifier: BSD-2-Clause-FreeBSD |
| * by Michael Pounov <misho@elwix.org> | * |
| **************************************************************************/ | * Copyright (c) 2022 Michael Pounov <misho@elwix.org>, CloudSigma AG |
| | * |
| | * Redistribution and use in source and binary forms, with or without |
| | * modification, are permitted provided that the following conditions |
| | * are met: |
| | * 1. Redistributions of source code must retain the above copyright |
| | * notice, this list of conditions and the following disclaimer. |
| | * 2. Redistributions in binary form must reproduce the above copyright |
| | * notice, this list of conditions and the following disclaimer in the |
| | * documentation and/or other materials provided with the distribution. |
| | * |
| | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
| | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
| | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| | * SUCH DAMAGE. |
| | */ |
| #ifndef __FWSYNC_H |
#ifndef __FWSYNC_H |
| #define __FWSYNC_H |
#define __FWSYNC_H |
| |
|
|
Line 28
|
Line 50
|
| #include <sys/mutex.h> |
#include <sys/mutex.h> |
| #include <sys/uio.h> |
#include <sys/uio.h> |
| #include <sys/poll.h> |
#include <sys/poll.h> |
| |
|
| |
#include <netinet/libalias/alias.h> |
| |
#include <netinet/libalias/alias_local.h> |
| |
#include <netinet/libalias/alias_db.h> |
| |
|
| #include <net/if.h> |
#include <net/if.h> |
| #include <net/if_var.h> |
#include <net/if_var.h> |
| #include <net/if_dl.h> |
#include <net/if_dl.h> |
|
Line 35
|
Line 62
|
| #include <netinet/ip.h> |
#include <netinet/ip.h> |
| #include <netinet/ip_var.h> |
#include <netinet/ip_var.h> |
| #include <netinet/udp.h> |
#include <netinet/udp.h> |
| #include <netinet/libalias/alias.h> |
|
| #include <netinet/libalias/alias_local.h> |
|
| #include <netinet/libalias/alias_db.h> |
|
| |
|
| #define IPFW_INTERNAL |
|
| |
|
| #include <netinet/ip_fw.h> |
#include <netinet/ip_fw.h> |
| |
|
| #include <netpfil/ipfw/ip_fw_private.h> |
#include <netpfil/ipfw/ip_fw_private.h> |
| |
|
| #include "fwsync_proto.h" |
#include "fwsync_proto.h" |
| #include "fwsync_utils.h" |
|
| #include "fwsync_workers.h" |
#include "fwsync_workers.h" |
| |
|
| |
|