Deleted Added
full compact
route.h (81739) route.h (191316)
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/*-
2 * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org>
3 * based on work by Toshiharu OHNO <tony-o@iij.ad.jp>
4 * Internet Initiative Japan, Inc (IIJ)
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/usr.sbin/ppp/route.h 81739 2001-08-16 02:01:05Z brian $
28 * $FreeBSD: head/usr.sbin/ppp/route.h 191316 2009-04-20 14:38:48Z bz $
29 */
30
31struct bundle;
32struct cmdargs;
33struct rt_msghdr;
34struct sockaddr;
35
36#define ROUTE_STATIC 0x0000

--- 28 unchanged lines hidden (view full) ---

65extern void route_DeleteAll(struct sticky_route **);
66extern void route_Clean(struct bundle *, struct sticky_route *);
67extern void route_ShowSticky(struct prompt *, struct sticky_route *,
68 const char *, int);
69extern void route_ParseHdr(struct rt_msghdr *, struct sockaddr *[RTAX_MAX]);
70extern int rt_Set(struct bundle *, int, const struct ncprange *,
71 const struct ncpaddr *, int, int);
72extern void rt_Update(struct bundle *, const struct sockaddr *,
29 */
30
31struct bundle;
32struct cmdargs;
33struct rt_msghdr;
34struct sockaddr;
35
36#define ROUTE_STATIC 0x0000

--- 28 unchanged lines hidden (view full) ---

65extern void route_DeleteAll(struct sticky_route **);
66extern void route_Clean(struct bundle *, struct sticky_route *);
67extern void route_ShowSticky(struct prompt *, struct sticky_route *,
68 const char *, int);
69extern void route_ParseHdr(struct rt_msghdr *, struct sockaddr *[RTAX_MAX]);
70extern int rt_Set(struct bundle *, int, const struct ncprange *,
71 const struct ncpaddr *, int, int);
72extern void rt_Update(struct bundle *, const struct sockaddr *,
73 const struct sockaddr *, const struct sockaddr *,
73 const struct sockaddr *, const struct sockaddr *);
74 const struct sockaddr *, const struct sockaddr *);