X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.h;h=5d287d6b4649d4a1cd46c40a0bddb65d217c0d2a;hp=9e9f87b340fbbb0153355a44162d084723026c5f;hb=c30d204fe82b18fb9668a05afb587a37f981696c;hpb=5580a43ba47c96ff41046226a9409c31b5efc8d2 diff --git a/pppd/pppd.h b/pppd/pppd.h index 9e9f87b..5d287d6 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: pppd.h,v 1.64 2002/01/22 16:02:58 dfs Exp $ + * $Id: pppd.h,v 1.65 2002/02/12 20:07:09 dfs Exp $ */ /* @@ -628,6 +628,10 @@ extern void (*ip_choose_hook) __P((u_int32_t *)); extern int (*chap_check_hook) __P((void)); extern int (*chap_passwd_hook) __P((char *user, char *passwd)); +/* Let a plugin snoop sent and received packets. Useful for L2TP */ +extern void (*snoop_recv_hook) __P((unsigned char *p, int len)); +extern void (*snoop_send_hook) __P((unsigned char *p, int len)); + /* * Inline versions of get/put char/short/long. * Pointer is advanced; we assume that both arguments