main.c (45126) | main.c (46086) |
---|---|
1/* 2 * User Process PPP 3 * 4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5 * 6 * Copyright (C) 1993, 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 * User Process PPP 3 * 4 * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 5 * 6 * Copyright (C) 1993, 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: main.c,v 1.151 1999/03/07 01:02:38 brian Exp $ | 20 * $Id: main.c,v 1.152 1999/03/30 00:44:57 brian Exp $ |
21 * 22 * TODO: 23 */ 24 25#include <sys/param.h> 26#include <netinet/in.h> 27#include <netinet/in_systm.h> 28#include <netinet/ip.h> --- 5 unchanged lines hidden (view full) --- 34#include <signal.h> 35#include <stdio.h> 36#include <string.h> 37#include <sys/time.h> 38#include <termios.h> 39#include <unistd.h> 40 41#ifndef NOALIAS | 21 * 22 * TODO: 23 */ 24 25#include <sys/param.h> 26#include <netinet/in.h> 27#include <netinet/in_systm.h> 28#include <netinet/ip.h> --- 5 unchanged lines hidden (view full) --- 34#include <signal.h> 35#include <stdio.h> 36#include <string.h> 37#include <sys/time.h> 38#include <termios.h> 39#include <unistd.h> 40 41#ifndef NOALIAS |
42#ifdef __OpenBSD__ 43#include "alias.h" 44#else | 42#ifdef __FreeBSD__ |
45#include <alias.h> | 43#include <alias.h> |
44#else 45#include "alias.h" |
|
46#endif 47#endif 48#include "probe.h" 49#include "mbuf.h" 50#include "log.h" 51#include "defs.h" 52#include "id.h" 53#include "timer.h" --- 525 unchanged lines hidden --- | 46#endif 47#endif 48#include "probe.h" 49#include "mbuf.h" 50#include "log.h" 51#include "defs.h" 52#include "id.h" 53#include "timer.h" --- 525 unchanged lines hidden --- |