command.c (64652) | command.c (64670) |
---|---|
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 64652 2000-08-15 00:59:21Z brian $ | 20 * $FreeBSD: head/usr.sbin/ppp/command.c 64670 2000-08-15 10:25:42Z 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> --- 119 unchanged lines hidden (view full) --- 148#define NEG_LQR 47 149#define NEG_PAP 48 150#define NEG_PPPDDEFLATE 49 151#define NEG_PRED1 50 152#define NEG_PROTOCOMP 51 153#define NEG_SHORTSEQ 52 154#define NEG_VJCOMP 53 155 | 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> --- 119 unchanged lines hidden (view full) --- 148#define NEG_LQR 47 149#define NEG_PAP 48 150#define NEG_PPPDDEFLATE 49 151#define NEG_PRED1 50 152#define NEG_PROTOCOMP 51 153#define NEG_SHORTSEQ 52 154#define NEG_VJCOMP 53 155 |
156const char Version[] = "2.26"; | 156const char Version[] = "2.27"; |
157 158static int ShowCommand(struct cmdargs const *); 159static int TerminalCommand(struct cmdargs const *); 160static int QuitCommand(struct cmdargs const *); 161static int OpenCommand(struct cmdargs const *); 162static int CloseCommand(struct cmdargs const *); 163static int DownCommand(struct cmdargs const *); 164static int SetCommand(struct cmdargs const *); --- 2599 unchanged lines hidden --- | 157 158static int ShowCommand(struct cmdargs const *); 159static int TerminalCommand(struct cmdargs const *); 160static int QuitCommand(struct cmdargs const *); 161static int OpenCommand(struct cmdargs const *); 162static int CloseCommand(struct cmdargs const *); 163static int DownCommand(struct cmdargs const *); 164static int SetCommand(struct cmdargs const *); --- 2599 unchanged lines hidden --- |