diff options
author | phk <phk@FreeBSD.org> | 1996-02-28 13:30:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-02-28 13:30:14 +0000 |
commit | f327e1fb69dc9a4ac7d128a641c116948a63c36d (patch) | |
tree | 76b90aae1356083e589078a83a1bd0fe8146eeef | |
parent | aeb68abf6d93328a5c305006598a1590c92333c5 (diff) | |
download | FreeBSD-src-f327e1fb69dc9a4ac7d128a641c116948a63c36d.zip FreeBSD-src-f327e1fb69dc9a4ac7d128a641c116948a63c36d.tar.gz |
Forgot to remove this file.
-rw-r--r-- | sys/netinet/ip_fwdef.c | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/sys/netinet/ip_fwdef.c b/sys/netinet/ip_fwdef.c deleted file mode 100644 index 402c413..0000000 --- a/sys/netinet/ip_fwdef.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (c) 1993 Daniel Boulet - * Copyright (c) 1994 Ugen J.S.Antsilevich - * - * Redistribution and use in source forms, with and without modification, - * are permitted provided that this entire comment appears intact. - * - * Redistribution in binary form may occur without any restrictions. - * Obviously, it would be nice if you gave credit where credit is due - * but requiring it would be too onerous. - * - * This software is provided ``AS IS'' without any warranties of any kind. - * - * $Id$ - */ - -/* - * Dumb definitions which needed when - * firewall/accounting module is not loaded. - */ - -#include <sys/param.h> -#include <sys/systm.h> -#include <sys/domain.h> -#include <sys/socket.h> -#include <sys/errno.h> -#include <sys/time.h> -#include <sys/kernel.h> - -#include <net/if.h> -#include <net/route.h> - -#include <netinet/in.h> -#include <netinet/in_systm.h> -#include <netinet/ip.h> -#include <netinet/ip_fw.h> - -u_short ip_fw_policy; -struct ip_fw *ip_fw_chain; -struct ip_fw *ip_acct_chain; - -#ifdef IPFIREWALL -int (*ip_fw_chk_ptr)(struct mbuf *, struct ip *, struct ifnet *, struct ip_fw *) = &ip_fw_chk; -int (*ip_fw_ctl_ptr)(int, struct mbuf *) = &ip_fw_ctl; -#else -int (*ip_fw_chk_ptr)(struct mbuf *, struct ip *, struct ifnet *, struct ip_fw *); -int (*ip_fw_ctl_ptr)(int, struct mbuf *); -#endif - - -#ifdef IPACCT -void (*ip_acct_cnt_ptr)(struct ip *, struct ifnet *, struct ip_fw *, int) = &ip_acct_cnt; -int (*ip_acct_ctl_ptr)(int, struct mbuf *) = &ip_acct_ctl; -#else -void (*ip_acct_cnt_ptr)(struct ip *, struct ifnet *, struct ip_fw *, int); -int (*ip_acct_ctl_ptr)(int, struct mbuf *); -#endif |