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: arp.c,v 1.31 1998/10/26 19:07:38 brian Exp $
| 20 * $Id: arp.c,v 1.32 1999/01/28 01:56:30 brian Exp $
|
21 * 22 */ 23 24/* 25 * TODO: 26 */ 27 28#include <sys/param.h> 29#include <sys/socket.h> 30#include <net/if.h> 31#include <net/route.h> 32#include <net/if_dl.h> 33#include <netinet/in.h> 34#include <netinet/if_ether.h> 35#include <arpa/inet.h> 36#include <netinet/in_systm.h> 37#include <netinet/ip.h> 38#include <sys/un.h> 39
| 21 * 22 */ 23 24/* 25 * TODO: 26 */ 27 28#include <sys/param.h> 29#include <sys/socket.h> 30#include <net/if.h> 31#include <net/route.h> 32#include <net/if_dl.h> 33#include <netinet/in.h> 34#include <netinet/if_ether.h> 35#include <arpa/inet.h> 36#include <netinet/in_systm.h> 37#include <netinet/ip.h> 38#include <sys/un.h> 39
|
| 40#include <errno.h>
|
40#include <stdio.h> 41#include <stdlib.h> 42#include <string.h>
| 41#include <stdio.h> 42#include <stdlib.h> 43#include <string.h>
|
43#include <sys/errno.h>
| |
44#include <sys/sysctl.h> 45#include <unistd.h> 46 47#include "mbuf.h" 48#include "log.h" 49#include "id.h" 50#include "timer.h" 51#include "fsm.h"
--- 272 unchanged lines hidden --- | 44#include <sys/sysctl.h> 45#include <unistd.h> 46 47#include "mbuf.h" 48#include "log.h" 49#include "id.h" 50#include "timer.h" 51#include "fsm.h"
--- 272 unchanged lines hidden --- |