Lines Matching refs:cmp
182 static int bsd_decompress(void *state, struct mbuf *cmp,
852 bsd_decompress(state, cmp, dmpp)
854 struct mbuf *cmp, **dmpp;
875 rptr = mtod(cmp, u_char *);
879 len = cmp->m_len - PPP_HDRLEN;
883 cmp = cmp->m_next;
884 if (cmp == NULL)
886 rptr = mtod(cmp, u_char *);
887 len = cmp->m_len;
919 mac_mbuf_label_copy(cmp, dmp);
936 cmp = cmp->m_next;
937 if (!cmp) /* quit at end of message */
939 rptr = mtod(cmp, u_char *);
940 len = cmp->m_len;
965 if (len > 0 || cmp->m_next != NULL) {
966 while ((cmp = cmp->m_next) != NULL)
967 len += cmp->m_len;
1008 while ((cmp = cmp->m_next) != NULL)
1009 len += cmp->m_len;