Lines Matching refs:p

258 ipcp_input(int unit, u_char *p, int len)
260 fsm_input(&ipcp_fsm[unit], p, len);
425 ipcp_ackci(fsm *f, u_char *p, int len)
444 GETCHAR(citype, p); \
445 GETCHAR(cilen, p); \
450 GETSHORT(cishort, p); \
455 GETCHAR(cimaxslotindex, p); \
459 GETCHAR(cicflag, p); \
473 GETCHAR(citype, p); \
474 GETCHAR(cilen, p); \
479 GETLONG(l, p); \
485 GETLONG(l, p); \
499 GETCHAR(citype, p); \
500 GETCHAR(cilen, p); \
505 GETLONG(l, p); \
545 ipcp_nakci(fsm *f, u_char *p, int len)
566 p[1] == cilen && \
567 p[0] == opt) { \
569 INCPTR(2, p); \
570 GETLONG(l, p); \
573 GETLONG(l, p); \
585 ((cilen = p[1]) == CILEN_COMPRESS || cilen == CILEN_VJ) && \
587 p[0] == opt) { \
589 INCPTR(2, p); \
590 GETSHORT(cishort, p); \
597 ((cilen = p[1]) == CILEN_ADDR) && \
599 p[0] == opt) { \
601 INCPTR(2, p); \
602 GETLONG(l, p); \
633 GETCHAR(cimaxslotindex, p);
634 GETCHAR(cicflag, p);
673 GETCHAR(citype, p);
674 GETCHAR(cilen, p);
678 next = p + cilen - 2;
695 GETLONG(l, p);
700 GETLONG(l, p);
712 GETLONG(l, p);
723 p = next;
750 ipcp_rejci(fsm *f, u_char *p, int len)
767 p[1] == cilen && \
768 p[0] == opt) { \
771 INCPTR(2, p); \
772 GETLONG(l, p); \
779 GETLONG(l, p); \
791 p[1] == (old? CILEN_COMPRESS : CILEN_VJ) && \
792 len >= p[1] && \
793 p[0] == opt) { \
794 len -= p[1]; \
795 INCPTR(2, p); \
796 GETSHORT(cishort, p); \
802 GETCHAR(cimaxslotindex, p); \
806 GETCHAR(ciflag, p); \
816 ((cilen = p[1]) == CILEN_ADDR) && \
818 p[0] == opt) { \
821 INCPTR(2, p); \
822 GETLONG(l, p); \
886 u_char *p; /* Pointer to next char to parse */
905 cip = p = next; /* Remember begining of CI */
907 p[1] < 2 || /* CI length too small or */
908 p[1] > l) { /* CI length too big? */
915 GETCHAR(citype, p); /* Parse CI type */
916 GETCHAR(cilen, p); /* Parse CI length */
936 GETLONG(tl, p); /* Parse source address (his) */
943 DECPTR(sizeof(u32_t), p);
945 PUTLONG(tl, p);
960 GETLONG(tl, p); /* Parse desination address (ours) */
967 DECPTR(sizeof(u32_t), p);
969 PUTLONG(tl, p);
1000 GETLONG(tl, p); /* Parse source address (his) */
1006 DECPTR(sizeof(u32_t), p);
1008 PUTLONG(tl, p);
1038 GETLONG(tl, p);
1042 DECPTR(sizeof(u32_t), p);
1044 PUTLONG(tl, p);
1062 GETLONG(tl, p);
1064 DECPTR(sizeof(u32_t), p);
1066 PUTLONG(tl, p);
1081 GETSHORT(cishort, p);
1093 GETCHAR(maxslotindex, p);
1098 DECPTR(1, p);
1099 PUTCHAR(ao->maxslotindex, p);
1102 GETCHAR(cflag, p);
1107 DECPTR(1, p);
1108 PUTCHAR(wo->cflag, p);
1119 "ipcp_reqci: received COMPRESSTYPE p=%d old=%d maxslot=%d cflag=%d\n",
1350 ipcp_printpkt(u_char *p, int plen, void (*printer) (void *, char *, ...), void *arg)
1352 LWIP_UNUSED_ARG(p);