Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c299 volatile char *bufstop) in corrupt() argument
306 volatile char *pe = bufstop < pstop ? bufstop : pstop; in corrupt()
308 if (pktp < buf || pktp > bufstop) in corrupt()
326 volatile char *bp, *bufstop; in scan() local
339 bufstop = buf + len; in scan()
347 for (bp = buf; bp < bufstop; bp += nhdrp->sbh_totlen) { in scan()
396 (bp + nhdrp->sbh_totlen) > bufstop || in scan()
401 (bp + nhdrp->sbh_msglen) > bufstop || in scan()
423 if (pktp + nhdrp->sbh_msglen > bufstop) { in scan()
425 nhdrp->sbh_msglen = bufstop - pktp; in scan()
[all …]