log.h (86811) | log.h (98243) |
---|---|
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 86811 2001-11-23 11:15:35Z brian $ | 26 * $FreeBSD: head/usr.sbin/ppp/log.h 98243 2002-06-15 08:03:30Z brian $ |
27 */ 28 29#define LogLOG (0) 30#define LogMIN (1) 31#define LogASYNC (1) /* syslog(LOG_INFO, ....) */ 32#define LogCBCP (2) 33#define LogCCP (3) 34#define LogCHAT (4) --- 13 unchanged lines hidden (view full) --- 48#define LogSYNC (18) /* syslog(LOG_INFO, ....) */ 49#define LogTCPIP (19) 50#define LogTIMER (20) /* syslog(LOG_DEBUG, ....) */ 51#define LogTUN (21) /* If set, tun%d is output with each message */ 52#define LogWARN (22) /* Sent to VarTerm else syslog(LOG_WARNING, ) */ 53#define LogERROR (23) /* syslog(LOG_ERR, ....), + sent to VarTerm */ 54#define LogALERT (24) /* syslog(LOG_ALERT, ....) */ 55 | 27 */ 28 29#define LogLOG (0) 30#define LogMIN (1) 31#define LogASYNC (1) /* syslog(LOG_INFO, ....) */ 32#define LogCBCP (2) 33#define LogCCP (3) 34#define LogCHAT (4) --- 13 unchanged lines hidden (view full) --- 48#define LogSYNC (18) /* syslog(LOG_INFO, ....) */ 49#define LogTCPIP (19) 50#define LogTIMER (20) /* syslog(LOG_DEBUG, ....) */ 51#define LogTUN (21) /* If set, tun%d is output with each message */ 52#define LogWARN (22) /* Sent to VarTerm else syslog(LOG_WARNING, ) */ 53#define LogERROR (23) /* syslog(LOG_ERR, ....), + sent to VarTerm */ 54#define LogALERT (24) /* syslog(LOG_ALERT, ....) */ 55 |
56#define LogMAXCONF (21) | 56#define LogMAXCONF (21) |
57#define LogMAX (24) 58 59struct mbuf; 60struct cmdargs; 61struct prompt; 62struct server; 63struct datalink; 64 --- 40 unchanged lines hidden --- | 57#define LogMAX (24) 58 59struct mbuf; 60struct cmdargs; 61struct prompt; 62struct server; 63struct datalink; 64 --- 40 unchanged lines hidden --- |