diff options
author | brian <brian@FreeBSD.org> | 1998-06-27 23:48:54 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-27 23:48:54 +0000 |
commit | ecefb9d1a210a6c86638b396ea5ece55c433bc66 (patch) | |
tree | 0a77c0e67b7da6215327359880d61c222fd24aa7 /usr.sbin/ppp/iplist.h | |
parent | 40b850dd415ad2adcddb88549067b23762bce91a (diff) | |
download | FreeBSD-src-ecefb9d1a210a6c86638b396ea5ece55c433bc66.zip FreeBSD-src-ecefb9d1a210a6c86638b396ea5ece55c433bc66.tar.gz |
o Fix remaining sizeof problems for 64 bit machines.
o Allow ``set ....'' when we have multiple links but aren't in
multilink mode.
o Do a TLS when we receive a ``Open'' event in ``Closed'' state,
despite the rfc state transition table. This is clearly an
error in the RFC as TLS cannot have yet been called (without
TLF) in the ``Closed'' state.
I've posted a message to comp.protocols.ppp for confirmation.
Diffstat (limited to 'usr.sbin/ppp/iplist.h')
-rw-r--r-- | usr.sbin/ppp/iplist.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/usr.sbin/ppp/iplist.h b/usr.sbin/ppp/iplist.h index ccc3335..ce1778d 100644 --- a/usr.sbin/ppp/iplist.h +++ b/usr.sbin/ppp/iplist.h @@ -23,24 +23,27 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: iplist.h,v 1.2 1997/12/21 12:11:06 brian Exp $ */ +struct iplist_cur { + struct in_addr ip; + int pos; + char *srcptr; + u_long srcitem; + u_int32_t lstart; + u_long nItems; +}; + struct iplist { - struct iplist_cur { - struct in_addr ip; - int pos; - char *srcptr; - int srcitem; - u_long lstart, nItems; - } cur; - int nItems; + struct iplist_cur cur; + u_long nItems; char src[LINE_LEN]; }; extern int iplist_setsrc(struct iplist *, const char *); extern void iplist_reset(struct iplist *); -extern struct in_addr iplist_setcurpos(struct iplist *, int); +extern struct in_addr iplist_setcurpos(struct iplist *, long); extern struct in_addr iplist_setrandpos(struct iplist *); extern int iplist_ip2pos(struct iplist *, struct in_addr); extern struct in_addr iplist_next(struct iplist *); |