Deleted Added
full compact
28c28
< * $FreeBSD: head/usr.sbin/ppp/route.h 78189 2001-06-13 21:52:19Z brian $
---
> * $FreeBSD: head/usr.sbin/ppp/route.h 81634 2001-08-14 16:05:52Z brian $
36,42c36,45
< #define ROUTE_STATIC 0x00
< #define ROUTE_DSTMYADDR 0x01
< #define ROUTE_DSTHISADDR 0x02
< #define ROUTE_DSTDNS0 0x04
< #define ROUTE_DSTDNS1 0x08
< #define ROUTE_DSTANY 0x0f
< #define ROUTE_GWHISADDR 0x10 /* May be ORd with DST_* */
---
> #define ROUTE_STATIC 0x0000
> #define ROUTE_DSTMYADDR 0x0001
> #define ROUTE_DSTMYADDR6 0x0002
> #define ROUTE_DSTHISADDR 0x0004
> #define ROUTE_DSTHISADDR6 0x0008
> #define ROUTE_DSTDNS0 0x0010
> #define ROUTE_DSTDNS1 0x0020
> #define ROUTE_DSTANY 0x0040
> #define ROUTE_GWHISADDR 0x0080 /* May be ORd with DST_* */
> #define ROUTE_GWHISADDR6 0x0100 /* May be ORd with DST_* */
48,50c51,52
< struct in_addr dst;
< struct in_addr mask;
< struct in_addr gw;
---
> struct ncprange dst;
> struct ncpaddr gw;
59,62c61,64
< struct in_addr, struct in_addr, struct in_addr[2]);
< extern void route_Add(struct sticky_route **, int, struct in_addr,
< struct in_addr, struct in_addr);
< extern void route_Delete(struct sticky_route **, int, struct in_addr);
---
> const struct ncpaddr *, const struct ncpaddr *);
> extern void route_Add(struct sticky_route **, int, const struct ncprange *,
> const struct ncpaddr *);
> extern void route_Delete(struct sticky_route **, int, const struct ncprange *);
68,70c70,72
< extern int rt_Set(struct bundle *, int, struct in_addr,
< struct in_addr, struct in_addr, int, int);
< extern void rt_Update(struct bundle *, struct in_addr, struct in_addr);
---
> extern int rt_Set(struct bundle *, int, const struct ncprange *,
> const struct ncpaddr *, int, int);
> extern void rt_Update(struct bundle *, const struct ncprange *);