log.h (65211) | log.h (81634) |
---|---|
1/*- 2 * Copyright (c) 1997 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1997 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/usr.sbin/ppp/log.h 65211 2000-08-29 17:00:52Z brian $ | 26 * $FreeBSD: head/usr.sbin/ppp/log.h 81634 2001-08-14 16:05:52Z brian $ |
27 */ 28 29#define LogMIN (1) 30#define LogASYNC (1) /* syslog(LOG_INFO, ....) */ 31#define LogCBCP (2) 32#define LogCCP (3) 33#define LogCHAT (4) 34#define LogCOMMAND (5) 35#define LogCONNECT (6) 36#define LogDEBUG (7) /* syslog(LOG_DEBUG, ....) */ 37#define LogDNS (8) 38#define LogFILTER (9) 39#define LogHDLC (10) 40#define LogID0 (11) 41#define LogIPCP (12) | 27 */ 28 29#define LogMIN (1) 30#define LogASYNC (1) /* syslog(LOG_INFO, ....) */ 31#define LogCBCP (2) 32#define LogCCP (3) 33#define LogCHAT (4) 34#define LogCOMMAND (5) 35#define LogCONNECT (6) 36#define LogDEBUG (7) /* syslog(LOG_DEBUG, ....) */ 37#define LogDNS (8) 38#define LogFILTER (9) 39#define LogHDLC (10) 40#define LogID0 (11) 41#define LogIPCP (12) |
42#define LogLCP (13) 43#define LogLQM (14) 44#define LogPHASE (15) 45#define LogPHYSICAL (16) /* syslog(LOG_INFO, ....) */ 46#define LogSYNC (17) /* syslog(LOG_INFO, ....) */ 47#define LogTCPIP (18) 48#define LogTIMER (19) /* syslog(LOG_DEBUG, ....) */ 49#define LogTUN (20) /* If set, tun%d is output with each message */ 50#define LogWARN (21) /* Sent to VarTerm else syslog(LOG_WARNING, ) */ 51#define LogERROR (22) /* syslog(LOG_ERR, ....), + sent to VarTerm */ 52#define LogALERT (23) /* syslog(LOG_ALERT, ....) */ | 42#define LogIPV6CP (13) 43#define LogLCP (14) 44#define LogLQM (15) 45#define LogPHASE (16) 46#define LogPHYSICAL (17) /* syslog(LOG_INFO, ....) */ 47#define LogSYNC (18) /* syslog(LOG_INFO, ....) */ 48#define LogTCPIP (19) 49#define LogTIMER (20) /* syslog(LOG_DEBUG, ....) */ 50#define LogTUN (21) /* If set, tun%d is output with each message */ 51#define LogWARN (22) /* Sent to VarTerm else syslog(LOG_WARNING, ) */ 52#define LogERROR (23) /* syslog(LOG_ERR, ....), + sent to VarTerm */ 53#define LogALERT (24) /* syslog(LOG_ALERT, ....) */ |
53 | 54 |
54#define LogMAXCONF (20) 55#define LogMAX (23) | 55#define LogMAXCONF (21) 56#define LogMAX (24) |
56 57struct mbuf; 58struct cmdargs; 59struct prompt; 60struct server; 61struct datalink; 62 63/* The first int arg for all of the following is one of the above values */ --- 39 unchanged lines hidden --- | 57 58struct mbuf; 59struct cmdargs; 60struct prompt; 61struct server; 62struct datalink; 63 64/* The first int arg for all of the following is one of the above values */ --- 39 unchanged lines hidden --- |