Lines Matching refs:tag
374 register u_int16_t tag;
389 /* Loop while we there is a tag left in the buffer */
391 tag = *bp++;
392 if (tag == TAG_PAD && vflag < 3)
394 if (tag == TAG_END && vflag < 3)
396 if (tag == TAG_EXTENDED_OPTION) {
398 tag = EXTRACT_16BITS(bp + 1);
401 * If not, we need to offset tag after this step.
403 cp = tok2str(xtag2str, "?xT%u", tag);
405 cp = tok2str(tag2str, "?T%u", tag);
408 if (tag == TAG_PAD || tag == TAG_END)
416 printf("\n\t %s Option %u, length %u%s", cp, tag, len,
419 if (tag == TAG_PAD && vflag > 2) {
434 if (tag == TAG_DHCP_MESSAGE && len == 1) {
440 if (tag == TAG_PARM_REQUEST) {
455 if (tag == TAG_EXTENDED_REQUEST) {
586 switch (tag) {
595 tag = *bp++;
597 fputs(tok2str(nbo2str, NULL, tag), stdout);
607 tag = *bp++;
609 fputs(tok2str(oo2str, NULL, tag), stdout);
763 printf("[unknown special tag %u, size %u]",
764 tag, len);