diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 1999-12-16 07:38:46 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 1999-12-16 07:38:46 +0000 |
commit | 4f440c694f2d8c97f3ea6413d87298acf9dede02 (patch) | |
tree | 2de13d91a5cc205cd9adb0c66b417e8d05904689 /sbin/ipf/ifaddr.h | |
parent | e5dff6f25f2c2c0db9a353f6ae9c9b19adc5b953 (diff) |
Add the ability to use interface names in place of addresses
in firewall rules. i.e.
block return-rst in quick on fxp0 proto tcp from any to fxp0 port = 9999
This will make things like DHCP much easier to deal with in the future.
Diffstat (limited to 'sbin/ipf/ifaddr.h')
-rw-r--r-- | sbin/ipf/ifaddr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sbin/ipf/ifaddr.h b/sbin/ipf/ifaddr.h new file mode 100644 index 00000000000..96ef1bac246 --- /dev/null +++ b/sbin/ipf/ifaddr.h @@ -0,0 +1,8 @@ +/* $OpenBSD: ifaddr.h,v 1.1 1999/12/16 07:38:45 kjell Exp $ */ + +#ifndef __IFADDR_H__ +#define __IFADDR_H__ + +int if_addr __P((char *, struct in_addr *)); + +#endif |