• Home
  • Raw
  • Download

Lines Matching refs:ND_PRINT

292 	ND_PRINT((ndo, "BOOTP/DHCP, %s",  in bootp_print()
297 ND_PRINT((ndo, " from %s", etheraddr_string(ndo, bp->bp_chaddr))); in bootp_print()
300 ND_PRINT((ndo, ", length %u", length)); in bootp_print()
309 ND_PRINT((ndo, ", htype %d", bp->bp_htype)); in bootp_print()
313 ND_PRINT((ndo, ", hlen %d", bp->bp_hlen)); in bootp_print()
317 ND_PRINT((ndo, ", hops %d", bp->bp_hops)); in bootp_print()
319 ND_PRINT((ndo, ", xid 0x%x", EXTRACT_32BITS(&bp->bp_xid))); in bootp_print()
321 ND_PRINT((ndo, ", secs %d", EXTRACT_16BITS(&bp->bp_secs))); in bootp_print()
323 ND_PRINT((ndo, ", Flags [%s]", in bootp_print()
326 ND_PRINT((ndo, " (0x%04x)", EXTRACT_16BITS(&bp->bp_flags))); in bootp_print()
331 ND_PRINT((ndo, "\n\t Client-IP %s", ipaddr_string(ndo, &bp->bp_ciaddr))); in bootp_print()
336 ND_PRINT((ndo, "\n\t Your-IP %s", ipaddr_string(ndo, &bp->bp_yiaddr))); in bootp_print()
341 ND_PRINT((ndo, "\n\t Server-IP %s", ipaddr_string(ndo, &bp->bp_siaddr))); in bootp_print()
346 ND_PRINT((ndo, "\n\t Gateway-IP %s", ipaddr_string(ndo, &bp->bp_giaddr))); in bootp_print()
351 ND_PRINT((ndo, "\n\t Client-Ethernet-Address %s", etheraddr_string(ndo, bp->bp_chaddr))); in bootp_print()
356 ND_PRINT((ndo, "\n\t sname \"")); in bootp_print()
358 ND_PRINT((ndo, "\"")); in bootp_print()
359 ND_PRINT((ndo, "%s", tstr + 1)); in bootp_print()
362 ND_PRINT((ndo, "\"")); in bootp_print()
366 ND_PRINT((ndo, "\n\t file \"")); in bootp_print()
368 ND_PRINT((ndo, "\"")); in bootp_print()
369 ND_PRINT((ndo, "%s", tstr + 1)); in bootp_print()
372 ND_PRINT((ndo, "\"")); in bootp_print()
388 ND_PRINT((ndo, "\n\t Vendor-#0x%x", ul)); in bootp_print()
393 ND_PRINT((ndo, "%s", tstr)); in bootp_print()
601 ND_PRINT((ndo, "\n\t Vendor-rfc1048 Extensions")); in rfc1048_print()
604 ND_PRINT((ndo, "\n\t Magic Cookie 0x%08x", EXTRACT_32BITS(bp))); in rfc1048_print()
634 ND_PRINT((ndo, "\n\t %s Option %u, length %u%s", cp, tag, len, in rfc1048_print()
644 ND_PRINT((ndo, ", occurs %u", ntag)); in rfc1048_print()
648 ND_PRINT((ndo, "[|rfc1048 %u]", len)); in rfc1048_print()
654 ND_PRINT((ndo, "%s", tok2str(dhcp_msg_values, "Unknown (%u)", uc))); in rfc1048_print()
664 ND_PRINT((ndo, "\n\t ")); in rfc1048_print()
666 ND_PRINT((ndo, ", ")); in rfc1048_print()
667 ND_PRINT((ndo, "%s", cp + 1)); in rfc1048_print()
681 ND_PRINT((ndo, "+")); in rfc1048_print()
682 ND_PRINT((ndo, "%s", cp + 1)); in rfc1048_print()
703 ND_PRINT((ndo, "\"")); in rfc1048_print()
705 ND_PRINT((ndo, "\"")); in rfc1048_print()
708 ND_PRINT((ndo, "\"")); in rfc1048_print()
719 ND_PRINT((ndo, ",")); in rfc1048_print()
723 ND_PRINT((ndo, "%s", ipaddr_string(ndo, &ul))); in rfc1048_print()
725 ND_PRINT((ndo, "%d", ul)); in rfc1048_print()
727 ND_PRINT((ndo, "%u", ul)); in rfc1048_print()
738 ND_PRINT((ndo, ",")); in rfc1048_print()
740 ND_PRINT((ndo, "(%s:", ipaddr_string(ndo, &ul))); in rfc1048_print()
743 ND_PRINT((ndo, "%s)", ipaddr_string(ndo, &ul))); in rfc1048_print()
754 ND_PRINT((ndo, ",")); in rfc1048_print()
756 ND_PRINT((ndo, "%u", us)); in rfc1048_print()
767 ND_PRINT((ndo, ",")); in rfc1048_print()
770 ND_PRINT((ndo, "N")); in rfc1048_print()
773 ND_PRINT((ndo, "Y")); in rfc1048_print()
776 ND_PRINT((ndo, "%u?", *bp)); in rfc1048_print()
791 ND_PRINT((ndo, c == 'x' ? ":" : ".")); in rfc1048_print()
793 ND_PRINT((ndo, "%02x", *bp)); in rfc1048_print()
795 ND_PRINT((ndo, "%u", *bp)); in rfc1048_print()
809 ND_PRINT((ndo, "ERROR: length < 1 bytes")); in rfc1048_print()
814 ND_PRINT((ndo, "%s", tok2str(nbo2str, NULL, tag))); in rfc1048_print()
820 ND_PRINT((ndo, "ERROR: length < 1 bytes")); in rfc1048_print()
825 ND_PRINT((ndo, "%s", tok2str(oo2str, NULL, tag))); in rfc1048_print()
831 ND_PRINT((ndo, "ERROR: length < 3 bytes")); in rfc1048_print()
837 ND_PRINT((ndo, "[%s] ", client_fqdn_flags(*bp))); in rfc1048_print()
840 ND_PRINT((ndo, "%u/%u ", *bp, *(bp+1))); in rfc1048_print()
842 ND_PRINT((ndo, "\"")); in rfc1048_print()
844 ND_PRINT((ndo, "\"")); in rfc1048_print()
847 ND_PRINT((ndo, "\"")); in rfc1048_print()
858 ND_PRINT((ndo, "ERROR: length < 1 bytes")); in rfc1048_print()
864 ND_PRINT((ndo, "\"")); in rfc1048_print()
866 ND_PRINT((ndo, "\"")); in rfc1048_print()
869 ND_PRINT((ndo, "\"")); in rfc1048_print()
874 ND_PRINT((ndo, "%s ", tok2str(arp2str, "hardware-type %u,", type))); in rfc1048_print()
877 ND_PRINT((ndo, ":")); in rfc1048_print()
878 ND_PRINT((ndo, "%02x", *bp)); in rfc1048_print()
893 ND_PRINT((ndo, "\n\t %s SubOption %u, length %u: length goes past end of option", in rfc1048_print()
901 ND_PRINT((ndo, "\n\t %s SubOption %u, length %u: ", in rfc1048_print()
930 ND_PRINT((ndo, "ERROR: length < 5 bytes")); in rfc1048_print()
937 ND_PRINT((ndo, ",")); in rfc1048_print()
942 ND_PRINT((ndo, "[ERROR: Mask width (%d) > 32]", mask_width)); in rfc1048_print()
950 ND_PRINT((ndo, "[ERROR: Remaining length (%u) < %u bytes]", len, significant_octets + 4)); in rfc1048_print()
955 ND_PRINT((ndo, "(")); in rfc1048_print()
957 ND_PRINT((ndo, "default")); in rfc1048_print()
961 ND_PRINT((ndo, ".")); in rfc1048_print()
962 ND_PRINT((ndo, "%d", *bp++)); in rfc1048_print()
965 ND_PRINT((ndo, ".0")); in rfc1048_print()
966 ND_PRINT((ndo, "/%d", mask_width)); in rfc1048_print()
969 ND_PRINT((ndo, ":%s)", ipaddr_string(ndo, &ul))); in rfc1048_print()
983 ND_PRINT((ndo, "ERROR: length < 2 bytes")); in rfc1048_print()
991 ND_PRINT((ndo, "\n\t ")); in rfc1048_print()
992 ND_PRINT((ndo, "instance#%u: ", suboptnumber)); in rfc1048_print()
994 ND_PRINT((ndo, "ERROR: suboption length must be non-zero")); in rfc1048_print()
1000 ND_PRINT((ndo, "ERROR: malformed option")); in rfc1048_print()
1005 ND_PRINT((ndo, "\"")); in rfc1048_print()
1007 ND_PRINT((ndo, "\"")); in rfc1048_print()
1010 ND_PRINT((ndo, "\"")); in rfc1048_print()
1011 ND_PRINT((ndo, ", length %d", suboptlen)); in rfc1048_print()
1020 ND_PRINT((ndo, "[unknown special tag %u, size %u]", in rfc1048_print()
1030 ND_PRINT((ndo, "\n\t trailing data length %u", len)); in rfc1048_print()
1036 ND_PRINT((ndo, "|[rfc1048]")); in rfc1048_print()
1047 ND_PRINT((ndo, " %s:%s", s, ipaddr_string(ndo, &cmu->m.s_addr))); } in cmu_print()
1049 ND_PRINT((ndo, " vend-cmu")); in cmu_print()
1055 ND_PRINT((ndo, " F:0x%x", cmu->v_flags)); in cmu_print()
1067 ND_PRINT((ndo, "%s", tstr)); in cmu_print()