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. |