Home | History | Annotate | Download | only in tcpdump

Lines Matching refs:np

300 	const struct lwres_lwpacket *np;
307 np = (const struct lwres_lwpacket *)bp;
308 TCHECK(np->authlength);
311 v = EXTRACT_16BITS(&np->version);
315 s = (const char *)np + EXTRACT_32BITS(&np->length);
319 response = EXTRACT_16BITS(&np->pktflags) & LWRES_LWPACKETFLAG_RESPONSE;
322 v = EXTRACT_32BITS(&np->opcode);
327 v = EXTRACT_16BITS(&np->pktflags);
333 printf("serial:0x%x", EXTRACT_32BITS(&np->serial));
334 printf(" result:0x%x", EXTRACT_32BITS(&np->result));
335 printf(" recvlen:%u", EXTRACT_32BITS(&np->recvlength));
338 printf(" authtype:0x%x", EXTRACT_16BITS(&np->authtype));
339 printf(" authlen:%u", EXTRACT_16BITS(&np->authlength));
359 switch (EXTRACT_32BITS(&np->opcode)) {
363 gabn = (lwres_gabnrequest_t *)(np + 1);
397 gnba = (lwres_gnbarequest_t *)(np + 1);
415 grbn = (lwres_grbnrequest_t *)(np + 1);
459 switch (EXTRACT_32BITS(&np->opcode)) {
463 gabn = (lwres_gabnresponse_t *)(np + 1);
503 gnba = (lwres_gnbaresponse_t *)(np + 1);
534 grbn = (lwres_grbnresponse_t *)(np + 1);
590 if (EXTRACT_32BITS(&np->length) != length) {
591 printf(" [len: %u != %u]", EXTRACT_32BITS(&np->length),
594 if (!unsupported && s < (const char *)np + EXTRACT_32BITS(&np->length))