command.c (53733) | command.c (53970) |
---|---|
1/* 2 * PPP User command processing module 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 * PPP User command processing module 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 * $FreeBSD: head/usr.sbin/ppp/command.c 53733 1999-11-26 22:44:33Z brian $ | 20 * $FreeBSD: head/usr.sbin/ppp/command.c 53970 1999-11-30 23:52:37Z brian $ |
21 * 22 */ 23#include <sys/param.h> 24#include <netinet/in_systm.h> 25#include <netinet/in.h> 26#include <netinet/ip.h> 27#include <arpa/inet.h> 28#include <sys/socket.h> --- 117 unchanged lines hidden (view full) --- 146#define NEG_LQR 47 147#define NEG_PAP 48 148#define NEG_PPPDDEFLATE 49 149#define NEG_PRED1 50 150#define NEG_PROTOCOMP 51 151#define NEG_SHORTSEQ 52 152#define NEG_VJCOMP 53 153 | 21 * 22 */ 23#include <sys/param.h> 24#include <netinet/in_systm.h> 25#include <netinet/in.h> 26#include <netinet/ip.h> 27#include <arpa/inet.h> 28#include <sys/socket.h> --- 117 unchanged lines hidden (view full) --- 146#define NEG_LQR 47 147#define NEG_PAP 48 148#define NEG_PPPDDEFLATE 49 149#define NEG_PRED1 50 150#define NEG_PROTOCOMP 51 151#define NEG_SHORTSEQ 52 152#define NEG_VJCOMP 53 153 |
154const char Version[] = "2.25"; | 154const char Version[] = "2.26"; |
155 156static int ShowCommand(struct cmdargs const *); 157static int TerminalCommand(struct cmdargs const *); 158static int QuitCommand(struct cmdargs const *); 159static int OpenCommand(struct cmdargs const *); 160static int CloseCommand(struct cmdargs const *); 161static int DownCommand(struct cmdargs const *); 162static int SetCommand(struct cmdargs const *); --- 2485 unchanged lines hidden --- | 155 156static int ShowCommand(struct cmdargs const *); 157static int TerminalCommand(struct cmdargs const *); 158static int QuitCommand(struct cmdargs const *); 159static int OpenCommand(struct cmdargs const *); 160static int CloseCommand(struct cmdargs const *); 161static int DownCommand(struct cmdargs const *); 162static int SetCommand(struct cmdargs const *); --- 2485 unchanged lines hidden --- |