Home
last modified time | relevance | path

Searched refs:bufstop (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c322 volatile char *bufstop) in corrupt() argument
329 volatile char *pe = bufstop < pstop ? bufstop : pstop; in corrupt()
331 if (pktp < buf || pktp > bufstop) in corrupt()
349 volatile char *bp, *bufstop; in scan() local
362 bufstop = buf + len; in scan()
370 for (bp = buf; bp < bufstop; bp += nhdrp->sbh_totlen) { in scan()
419 (bp + nhdrp->sbh_totlen) > bufstop || in scan()
424 (bp + nhdrp->sbh_msglen) > bufstop || in scan()
446 if (pktp + nhdrp->sbh_msglen > bufstop) { in scan()
448 nhdrp->sbh_msglen = bufstop - pktp; in scan()
[all …]