Deleted Added
full compact
route.c (31061) route.c (31070)
1/*
2 * PPP Routing related Module
3 *
4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
5 *
6 * Copyright (C) 1994, Internet Initiative Japan, Inc. All rights reserverd.
7 *
8 * Redistribution and use in source and binary forms are permitted
9 * provided that the above copyright notice and this paragraph are
10 * duplicated in all such forms and that any documentation,
11 * advertising materials, and other materials related to such
12 * distribution and use acknowledge that the software was developed
13 * by the Internet Initiative Japan, Inc. The name of the
14 * IIJ may not be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 *
1/*
2 * PPP Routing related Module
3 *
4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp)
5 *
6 * Copyright (C) 1994, Internet Initiative Japan, Inc. All rights reserverd.
7 *
8 * Redistribution and use in source and binary forms are permitted
9 * provided that the above copyright notice and this paragraph are
10 * duplicated in all such forms and that any documentation,
11 * advertising materials, and other materials related to such
12 * distribution and use acknowledge that the software was developed
13 * by the Internet Initiative Japan, Inc. The name of the
14 * IIJ may not be used to endorse or promote products derived
15 * from this software without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 *
20 * $Id: route.c,v 1.22 1997/11/09 03:22:49 brian Exp $
20 * $Id: route.c,v 1.23 1997/11/09 06:22:47 brian Exp $
21 *
22 */
23
24#include <sys/param.h>
25#include <sys/time.h>
26#include <sys/socket.h>
27#include <net/route.h>
28#include <net/if.h>

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

38#include <sys/ioctl.h>
39#include <sys/sysctl.h>
40#include <unistd.h>
41
42#include "mbuf.h"
43#include "log.h"
44#include "loadalias.h"
45#include "command.h"
21 *
22 */
23
24#include <sys/param.h>
25#include <sys/time.h>
26#include <sys/socket.h>
27#include <net/route.h>
28#include <net/if.h>

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

38#include <sys/ioctl.h>
39#include <sys/sysctl.h>
40#include <unistd.h>
41
42#include "mbuf.h"
43#include "log.h"
44#include "loadalias.h"
45#include "command.h"
46#include "defs.h"
46#include "vars.h"
47#include "id.h"
48#include "route.h"
49
50static int IfIndex;
51
52struct rtmsg {
53 struct rt_msghdr m_rtm;

--- 379 unchanged lines hidden ---
47#include "vars.h"
48#include "id.h"
49#include "route.h"
50
51static int IfIndex;
52
53struct rtmsg {
54 struct rt_msghdr m_rtm;

--- 379 unchanged lines hidden ---