/[lwip]/lwip/src/netif/ppp/ppp.h
ViewVC logotype

Diff of /lwip/src/netif/ppp/ppp.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4.2.2 by marcbou, Fri Jul 4 15:55:12 2003 UTC revision 1.4.2.3 by jani, Wed Sep 10 18:10:15 2003 UTC
# Line 208  enum NPmode { Line 208  enum NPmode {
208  #define BCMP(s0, s1, l)     memcmp((u_char *)(s0), (u_char *)(s1), (l))  #define BCMP(s0, s1, l)     memcmp((u_char *)(s0), (u_char *)(s1), (l))
209  #define BCOPY(s, d, l)      memcpy((d), (s), (l))  #define BCOPY(s, d, l)      memcpy((d), (s), (l))
210  #define BZERO(s, n)         memset(s, 0, n)  #define BZERO(s, n)         memset(s, 0, n)
211    #if PPP_DEBUG
212  #define PRINTMSG(m, l)  { m[l] = '\0'; ppp_trace(LOG_INFO, "Remote message: %s\n", m); }  #define PRINTMSG(m, l)  { m[l] = '\0'; ppp_trace(LOG_INFO, "Remote message: %s\n", m); }
213    #else
214    #define PRINTMSG(m, l)
215    #endif
216    
217  /*  /*
218   * MAKEHEADER - Add PPP Header fields to a packet.   * MAKEHEADER - Add PPP Header fields to a packet.

Legend:
Removed from v.1.4.2.2  
changed lines
  Added in v.1.4.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26