1/* 2 * sys-bsd.c - System-dependent procedures for setting up 3 * PPP interfaces on bsd-4.4-ish systems (including 386BSD, NetBSD, etc.) 4 * 5 * Copyright (c) 1989 Carnegie Mellon University. 6 * All rights reserved. 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 Carnegie Mellon University. The name of the 14 * University 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 * sys-bsd.c - System-dependent procedures for setting up 3 * PPP interfaces on bsd-4.4-ish systems (including 386BSD, NetBSD, etc.) 4 * 5 * Copyright (c) 1989 Carnegie Mellon University. 6 * All rights reserved. 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 Carnegie Mellon University. The name of the 14 * University 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$
| 20 * $Id: arp.c,v 1.9 1997/02/22 16:09:56 peter Exp $
|
21 * 22 */ 23 24/* 25 * TODO: 26 */ 27 28#include <sys/ioctl.h> 29#include <sys/types.h> 30#include <sys/uio.h> 31#include <sys/socket.h> 32#include <sys/time.h> 33#include <sys/errno.h> 34#include <unistd.h> 35#include <string.h> 36 37#include <net/if.h>
| 21 * 22 */ 23 24/* 25 * TODO: 26 */ 27 28#include <sys/ioctl.h> 29#include <sys/types.h> 30#include <sys/uio.h> 31#include <sys/socket.h> 32#include <sys/time.h> 33#include <sys/errno.h> 34#include <unistd.h> 35#include <string.h> 36 37#include <net/if.h>
|
| 38#include <osreldate.h> 39#if __FreeBSD_version >= 199702
|
38#include <net/if_var.h>
| 40#include <net/if_var.h>
|
| 41#endif
|
39#include <net/route.h> 40#include <net/if_dl.h> 41#include <netinet/in.h> 42#include <stdio.h> 43#include <fcntl.h> 44#ifdef __bsdi__ 45#include <kvm.h> 46#endif
--- 382 unchanged lines hidden --- | 42#include <net/route.h> 43#include <net/if_dl.h> 44#include <netinet/in.h> 45#include <stdio.h> 46#include <fcntl.h> 47#ifdef __bsdi__ 48#include <kvm.h> 49#endif
--- 382 unchanged lines hidden --- |