diff options
Diffstat (limited to 'usr.sbin/IPXrouted/trace.h')
-rw-r--r-- | usr.sbin/IPXrouted/trace.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/IPXrouted/trace.h b/usr.sbin/IPXrouted/trace.h index cbe52d5..17fef0f 100644 --- a/usr.sbin/IPXrouted/trace.h +++ b/usr.sbin/IPXrouted/trace.h @@ -37,7 +37,7 @@ * * @(#)trace.h 8.1 (Berkeley) 6/5/93 * - * $Id$ + * $Id: trace.h,v 1.5 1997/02/22 16:01:04 peter Exp $ */ /* @@ -78,6 +78,10 @@ FILE *ftrace; /* output trace file */ #define TRACE_ACTION(action, route) { \ if (tracing) \ traceaction(ftrace, "action", route); \ + traceactionlog(action, route); \ + } +#define TRACE_SAP_ACTION(action, service) { \ + tracesapactionlog(action, service); \ } #define TRACE_INPUT(ifp, src, size) { \ if (tracing) { \ @@ -121,6 +125,8 @@ void traceinit(struct interface *); void traceon(char *file); void traceoff(void); void traceaction(FILE *, char *, struct rt_entry *); +void traceactionlog(char *, struct rt_entry *); +void tracesapactionlog(char *action, struct sap_entry *sap); void trace(struct ifdebug *, struct sockaddr *, char *, int, int); void dumppacket(FILE *, char *, struct sockaddr *, char *, int); void dumpsappacket(FILE *, char *, struct sockaddr *, char *, int); |