Lines Matching refs:offset
48 static int mbufstrcmp(struct mbuf *m, struct mbuf *npkt, int offset, char *cmp);
50 static int mbufstrncmp(struct mbuf *m, struct mbuf *npkt, int offset,
100 * starting at offset in m compare characters in mbuf chain for 'cmp'
103 mbufstrcmp(struct mbuf *m, struct mbuf *npkt, int offset, char *cmp)
112 for (; offset < m->m_len; offset++, cmp++) {
115 else if (*cmp != *(mtod(m, char *) + offset))
120 offset = 0;
128 * starting at offset in m compare characters in mbuf chain for 'cmp'
132 mbufstrncmp(struct mbuf *m, struct mbuf *npkt, int offset, int max, char *cmp)
141 for (; offset < m->m_len; offset++, cmp++, max--) {
144 else if (*cmp != *(mtod(m, char *) + offset))
149 offset = 0;