Searched defs:netval (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_slp.c202 static long long netval = 0; /* need signed 64 bit quantity */ variable
204 /* gets two bytes from p and leaves the result in netval */
206 netval = ((int)(p[0] & 0xff)) << 8; \
207 netval += ((int)(p[1] & 0xff))
209 /* gets four bytes from p and leaves the result in netval */
211 netval = ((int)(p[0] & 0xff)) << 24; \
212 netval += ((int)(p[1] & 0xff)) << 16; \
213 netval += ((int)(p[2] & 0xff)) << 8; \
214 netval += ((int)(p[3] & 0xff))
218 netval
[all...]

Completed in 47 milliseconds