diff options
author | brian <brian@FreeBSD.org> | 1997-08-25 00:29:32 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-08-25 00:29:32 +0000 |
commit | 1a67d257255b14fb46fc02630bf861a49bebd625 (patch) | |
tree | 5a0190bb42d398d91fc5bbdd17de31f54aec2459 /usr.sbin/ppp/filter.h | |
parent | bbf38e6e36ecd35771c55badcb09ca745a61d881 (diff) | |
download | FreeBSD-src-1a67d257255b14fb46fc02630bf861a49bebd625.zip FreeBSD-src-1a67d257255b14fb46fc02630bf861a49bebd625.tar.gz |
Make the code format more in line with style(9).
Update loadalias to use the new libalias api.
Update to version 1.1.
Diffstat (limited to 'usr.sbin/ppp/filter.h')
-rw-r--r-- | usr.sbin/ppp/filter.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/usr.sbin/ppp/filter.h b/usr.sbin/ppp/filter.h index 9653560..d6417fc 100644 --- a/usr.sbin/ppp/filter.h +++ b/usr.sbin/ppp/filter.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: filter.h,v 1.7 1997/05/10 01:22:09 brian Exp $ + * $Id: filter.h,v 1.8 1997/06/09 03:27:20 brian Exp $ * * TODO: */ @@ -51,21 +51,21 @@ #define OP_LT 4 struct filterent { - int action; /* Filtering action */ - int swidth; /* Effective source address width */ + int action; /* Filtering action */ + int swidth; /* Effective source address width */ struct in_addr saddr; /* Source address */ struct in_addr smask; /* Source address mask */ - int dwidth; /* Effective destination address width */ + int dwidth; /* Effective destination address width */ struct in_addr daddr; /* Destination address */ struct in_addr dmask; /* Destination address mask */ - int proto; /* Protocol */ + int proto; /* Protocol */ struct { - short srcop; + short srcop; u_short srcport; - short dstop; + short dstop; u_short dstport; - int estab; - } opt; + int estab; + } opt; }; #define MAXFILTERS 20 @@ -79,5 +79,6 @@ struct filterent ofilters[MAXFILTERS]; struct filterent dfilters[MAXFILTERS]; struct filterent afilters[MAXFILTERS]; /* keep Alive packet filter */ -extern int ParseAddr(int, char **, struct in_addr *, struct in_addr *, int*); -#endif /* _FILTER_H_ */ +extern int ParseAddr(int, char **, struct in_addr *, struct in_addr *, int *); + +#endif /* _FILTER_H_ */ |