Lines Matching refs:tag
371 register u_int16_t tag;
386 /* Loop while we there is a tag left in the buffer */
388 tag = *bp++;
389 if (tag == TAG_PAD && vflag < 3)
391 if (tag == TAG_END && vflag < 3)
393 if (tag == TAG_EXTENDED_OPTION) {
395 tag = EXTRACT_16BITS(bp + 1);
398 * If not, we need to offset tag after this step.
400 cp = tok2str(xtag2str, "?xT%u", tag);
402 cp = tok2str(tag2str, "?T%u", tag);
405 if (tag == TAG_PAD || tag == TAG_END)
413 printf("\n\t %s Option %u, length %u%s", cp, tag, len,
416 if (tag == TAG_PAD && vflag > 2) {
431 if (tag == TAG_DHCP_MESSAGE && len == 1) {
437 if (tag == TAG_PARM_REQUEST) {
452 if (tag == TAG_EXTENDED_REQUEST) {
583 switch (tag) {
592 tag = *bp++;
594 fputs(tok2str(nbo2str, NULL, tag), stdout);
604 tag = *bp++;
606 fputs(tok2str(oo2str, NULL, tag), stdout);
760 printf("[unknown special tag %u, size %u]",
761 tag, len);