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.c351 volatile char *bufstop) in corrupt() argument
358 volatile char *pe = bufstop < pstop ? bufstop : pstop; in corrupt()
360 if (pktp < buf || pktp > bufstop) in corrupt()
378 volatile char *bp, *bufstop; in scan() local
392 bufstop = buf + len; in scan()
400 for (bp = buf; bp < bufstop; bp += nhdrp->sbh_totlen) { in scan()
449 (bp + nhdrp->sbh_totlen) > bufstop || in scan()
454 (bp + nhdrp->sbh_msglen) > bufstop || in scan()
476 if (pktp + nhdrp->sbh_msglen > bufstop) { in scan()
478 nhdrp->sbh_msglen = bufstop - pktp; in scan()
[all …]