Lines Matching refs:ND_PRINT
619 ND_PRINT((ndo,":")); in print_lladdr()
620 ND_PRINT((ndo,"%02x", *q++)); in print_lladdr()
687 ND_PRINT((ndo, " opt:pad0")); in rpl_dio_printopt()
689 ND_PRINT((ndo, " opt:%s len:%u ", in rpl_dio_printopt()
706 ND_PRINT((ndo," [|truncated]")); in rpl_dio_printopt()
720 ND_PRINT((ndo, " [dagid:%s,seq:%u,instance:%u,rank:%u,%smop:%s,prf:%u]", in rpl_dio_print()
735 ND_PRINT((ndo," [|truncated]")); in rpl_dio_print()
762 ND_PRINT((ndo, " [dagid:%s,seq:%u,instance:%u%s%s,%02x]", in rpl_dao_print()
777 ND_PRINT((ndo," [|truncated]")); in rpl_dao_print()
781 ND_PRINT((ndo," [|length too short]")); in rpl_dao_print()
808 ND_PRINT((ndo, " [dagid:%s,seq:%u,instance:%u,status:%u]", in rpl_daoack_print()
822 ND_PRINT((ndo," [|dao-truncated]")); in rpl_daoack_print()
826 ND_PRINT((ndo," [|dao-length too short]")); in rpl_daoack_print()
839 ND_PRINT((ndo, ", (SEC) [worktodo]")); in rpl_print()
846 ND_PRINT((ndo, ", (CLR)")); in rpl_print()
851 ND_PRINT((ndo, "DODAG Information Solicitation")); in rpl_print()
856 ND_PRINT((ndo, "DODAG Information Object")); in rpl_print()
862 ND_PRINT((ndo, "Destination Advertisement Object")); in rpl_print()
868 ND_PRINT((ndo, "Destination Advertisement Object Ack")); in rpl_print()
874 ND_PRINT((ndo, "RPL message, unknown code %u",hdr->icmp6_code)); in rpl_print()
881 ND_PRINT((ndo," [|truncated]")); in rpl_print()
915 ND_PRINT((ndo,"[bad icmp6 cksum 0x%04x -> 0x%04x!] ", in icmp6_print()
919 ND_PRINT((ndo,"[icmp6 sum ok] ")); in icmp6_print()
923 … ND_PRINT((ndo,"ICMP6, %s", tok2str(icmp6_type_values,"unknown icmp6 type (%u)",dp->icmp6_type))); in icmp6_print()
933 ND_PRINT((ndo,", length %u", length)); in icmp6_print()
938 …ND_PRINT((ndo,", %s", tok2str(icmp6_dst_unreach_code_values,"unknown unreach code (%u)",dp->icmp6_… in icmp6_print()
944 ND_PRINT((ndo," %s",ip6addr_string(ndo, &oip->ip6_dst))); in icmp6_print()
947 ND_PRINT((ndo," %s, source address %s", in icmp6_print()
959 ND_PRINT((ndo,", %s tcp port %s", in icmp6_print()
964 ND_PRINT((ndo,", %s udp port %s", in icmp6_print()
969 ND_PRINT((ndo,", %s protocol %d port %d unreachable", in icmp6_print()
985 ND_PRINT((ndo,", mtu %u", EXTRACT_32BITS(&dp->icmp6_mtu))); in icmp6_print()
991 ND_PRINT((ndo," for %s", in icmp6_print()
995 ND_PRINT((ndo," (reassembly)")); in icmp6_print()
998 ND_PRINT((ndo,", unknown code (%u)", dp->icmp6_code)); in icmp6_print()
1006 ND_PRINT((ndo,", erroneous - octet %u", EXTRACT_32BITS(&dp->icmp6_pptr))); in icmp6_print()
1009 ND_PRINT((ndo,", next header - octet %u", EXTRACT_32BITS(&dp->icmp6_pptr))); in icmp6_print()
1012 ND_PRINT((ndo,", option - octet %u", EXTRACT_32BITS(&dp->icmp6_pptr))); in icmp6_print()
1015 ND_PRINT((ndo,", code-#%d", in icmp6_print()
1023 ND_PRINT((ndo,", seq %u", EXTRACT_16BITS(&dp->icmp6_seq))); in icmp6_print()
1029 ND_PRINT((ndo," v2")); in icmp6_print()
1032 ND_PRINT((ndo," unknown-version (len %u) ", length)); in icmp6_print()
1055 ND_PRINT((ndo,"\n\thop limit %u, Flags [%s]" \ in icmp6_print()
1073 ND_PRINT((ndo,", who has %s", ip6addr_string(ndo, &p->nd_ns_target))); in icmp6_print()
1087 ND_PRINT((ndo,", tgt is %s", in icmp6_print()
1090 ND_PRINT((ndo,", Flags [%s]", in icmp6_print()
1104 ND_PRINT((ndo,", %s", getname6(ndo, (const u_char *)&RDR(dp)->nd_rd_dst))); in icmp6_print()
1106 ND_PRINT((ndo," to %s", in icmp6_print()
1132 ND_PRINT((ndo,", id 0x%04x", EXTRACT_16BITS(&dp->icmp6_data16[0]))); in icmp6_print()
1140 ND_PRINT((ndo,", id 0x%04x", EXTRACT_16BITS(&dp->icmp6_data16[0]))); in icmp6_print()
1145 ND_PRINT((ndo,", %s", ip6addr_string(ndo, in6))); in icmp6_print()
1152 ND_PRINT((ndo,", id 0x%04x", EXTRACT_16BITS(&dp->icmp6_data16[0]))); in icmp6_print()
1154 ND_PRINT((ndo," ")); in icmp6_print()
1156 ND_PRINT((ndo,"M")); in icmp6_print()
1158 ND_PRINT((ndo,"O")); in icmp6_print()
1169 ND_PRINT((ndo,", length %u", length)); in icmp6_print()
1175 ND_PRINT((ndo,", length %u", length)); in icmp6_print()
1178 ND_PRINT((ndo, "[|icmp6]")); in icmp6_print()
1288 ND_PRINT((ndo,"\n\t %s option (%u), length %u (%u): ", in icmp6_opt_print()
1306 ND_PRINT((ndo,"%s/%u%s, Flags [%s], valid time %s", in icmp6_opt_print()
1312 … ND_PRINT((ndo,", pref. time %s", get_lifetime(EXTRACT_32BITS(&opp->nd_opt_pi_preferred_time)))); in icmp6_opt_print()
1321 ND_PRINT((ndo," %u%s", in icmp6_opt_print()
1328 ND_PRINT((ndo," lifetime %us,", in icmp6_opt_print()
1332 ND_PRINT((ndo," addr: %s", in icmp6_opt_print()
1338 ND_PRINT((ndo," lifetime %us, domain(s):", in icmp6_opt_print()
1343 ND_PRINT((ndo, " ")); in icmp6_opt_print()
1351 ND_PRINT((ndo," %ums", EXTRACT_32BITS(&opa->nd_opt_adv_interval))); in icmp6_opt_print()
1356 ND_PRINT((ndo," preference %u, lifetime %u", in icmp6_opt_print()
1379 ND_PRINT((ndo," %s/%u", ip6addr_string(ndo, &in6), in icmp6_opt_print()
1381 ND_PRINT((ndo,", pref=%s", get_rtpref(opri->nd_opt_rti_flags))); in icmp6_opt_print()
1382 ND_PRINT((ndo,", lifetime=%s", in icmp6_opt_print()
1402 ND_PRINT((ndo, "[ndp opt]")); in icmp6_opt_print()
1419 ND_PRINT((ndo,"max resp delay: %d ", EXTRACT_16BITS(&mp->mld6_maxdelay))); in mld6_print()
1420 ND_PRINT((ndo,"addr: %s", ip6addr_string(ndo, &mp->mld6_addr))); in mld6_print()
1432 ND_PRINT((ndo," [invalid len %d]", len)); in mldv2_report_print()
1438 ND_PRINT((ndo,", %d group record(s)", ngroups)); in mldv2_report_print()
1445 ND_PRINT((ndo," [invalid number of groups]")); in mldv2_report_print()
1449 ND_PRINT((ndo," [gaddr %s", ip6addr_string(ndo, &bp[group + 4]))); in mldv2_report_print()
1450 ND_PRINT((ndo," %s", tok2str(mldv2report2str, " [v2-report-#%d]", in mldv2_report_print()
1455 ND_PRINT((ndo," [invalid number of sources %d]", nsrcs)); in mldv2_report_print()
1459 ND_PRINT((ndo,", %d source(s)", nsrcs)); in mldv2_report_print()
1462 ND_PRINT((ndo," {")); in mldv2_report_print()
1466 ND_PRINT((ndo," %s", ip6addr_string(ndo, &bp[group + 20 + j * sizeof(struct in6_addr)]))); in mldv2_report_print()
1468 ND_PRINT((ndo," }")); in mldv2_report_print()
1472 ND_PRINT((ndo,"]")); in mldv2_report_print()
1477 ND_PRINT((ndo,"[|icmp6]")); in mldv2_report_print()
1492 ND_PRINT((ndo," [invalid len %d]", len)); in mldv2_query_print()
1503 ND_PRINT((ndo," [max resp delay=%d]", mrt)); in mldv2_query_print()
1506 ND_PRINT((ndo," [gaddr %s", ip6addr_string(ndo, &bp[8]))); in mldv2_query_print()
1511 ND_PRINT((ndo," sflag")); in mldv2_query_print()
1514 ND_PRINT((ndo," robustness=%d", bp[24] & 0x07)); in mldv2_query_print()
1521 ND_PRINT((ndo," qqi=%d", qqi)); in mldv2_query_print()
1528 ND_PRINT((ndo," [invalid number of sources]")); in mldv2_query_print()
1530 ND_PRINT((ndo," {")); in mldv2_query_print()
1534 ND_PRINT((ndo," %s", ip6addr_string(ndo, &bp[28 + i * sizeof(struct in6_addr)]))); in mldv2_query_print()
1536 ND_PRINT((ndo," }")); in mldv2_query_print()
1538 ND_PRINT((ndo,", %d source(s)", nsrcs)); in mldv2_query_print()
1540 ND_PRINT((ndo,"]")); in mldv2_query_print()
1543 ND_PRINT((ndo,"[|icmp6]")); in mldv2_query_print()
1553 ND_PRINT((ndo,", \"")); in dnsname_print()
1558 ND_PRINT((ndo,"???")); in dnsname_print()
1566 ND_PRINT((ndo,".")); in dnsname_print()
1570 ND_PRINT((ndo,".")); in dnsname_print()
1575 ND_PRINT((ndo,"???")); in dnsname_print()
1580 ND_PRINT((ndo,"\"")); in dnsname_print()
1602 ND_PRINT((ndo," who-are-you request")); in icmp6_nodeinfo_print()
1605 ND_PRINT((ndo," node information query")); in icmp6_nodeinfo_print()
1609 ND_PRINT((ndo," (")); /*)*/ in icmp6_nodeinfo_print()
1612 ND_PRINT((ndo,"noop")); in icmp6_nodeinfo_print()
1615 ND_PRINT((ndo,"supported qtypes")); in icmp6_nodeinfo_print()
1618 ND_PRINT((ndo," [%s]", (i & 0x01) ? "C" : "")); in icmp6_nodeinfo_print()
1621 ND_PRINT((ndo,"DNS name")); in icmp6_nodeinfo_print()
1624 ND_PRINT((ndo,"node addresses")); in icmp6_nodeinfo_print()
1629 ND_PRINT((ndo," [%s%s%s%s%s%s]", in icmp6_nodeinfo_print()
1638 ND_PRINT((ndo,"unknown")); in icmp6_nodeinfo_print()
1646 ND_PRINT((ndo,", invalid len")); in icmp6_nodeinfo_print()
1648 ND_PRINT((ndo,")")); in icmp6_nodeinfo_print()
1655 ND_PRINT((ndo,", 03 draft")); in icmp6_nodeinfo_print()
1657 ND_PRINT((ndo,")")); in icmp6_nodeinfo_print()
1668 ND_PRINT((ndo,", invalid subject len")); in icmp6_nodeinfo_print()
1671 ND_PRINT((ndo,", subject=%s", in icmp6_nodeinfo_print()
1675 ND_PRINT((ndo,", subject=DNS name")); in icmp6_nodeinfo_print()
1680 ND_PRINT((ndo,", 03 draft")); in icmp6_nodeinfo_print()
1682 ND_PRINT((ndo,", \"")); in icmp6_nodeinfo_print()
1687 ND_PRINT((ndo,"\"")); in icmp6_nodeinfo_print()
1696 ND_PRINT((ndo,", invalid subject len")); in icmp6_nodeinfo_print()
1699 ND_PRINT((ndo,", subject=%s", in icmp6_nodeinfo_print()
1703 ND_PRINT((ndo,", unknown subject")); in icmp6_nodeinfo_print()
1708 ND_PRINT((ndo,")")); in icmp6_nodeinfo_print()
1713 ND_PRINT((ndo,"[|icmp6: node information reply]")); in icmp6_nodeinfo_print()
1720 ND_PRINT((ndo," node information reply")); in icmp6_nodeinfo_print()
1721 ND_PRINT((ndo," (")); /*)*/ in icmp6_nodeinfo_print()
1725 ND_PRINT((ndo,"success")); in icmp6_nodeinfo_print()
1730 ND_PRINT((ndo,"refused")); in icmp6_nodeinfo_print()
1734 ND_PRINT((ndo,", invalid length")); in icmp6_nodeinfo_print()
1737 ND_PRINT((ndo,"unknown")); in icmp6_nodeinfo_print()
1741 ND_PRINT((ndo,", invalid length")); in icmp6_nodeinfo_print()
1747 ND_PRINT((ndo,")")); in icmp6_nodeinfo_print()
1754 ND_PRINT((ndo,", ")); in icmp6_nodeinfo_print()
1755 ND_PRINT((ndo,"noop")); in icmp6_nodeinfo_print()
1758 ND_PRINT((ndo,", invalid length")); in icmp6_nodeinfo_print()
1762 ND_PRINT((ndo,", ")); in icmp6_nodeinfo_print()
1763 ND_PRINT((ndo,"supported qtypes")); in icmp6_nodeinfo_print()
1766 ND_PRINT((ndo," [%s]", (i & 0x01) ? "C" : "")); in icmp6_nodeinfo_print()
1770 ND_PRINT((ndo,", ")); in icmp6_nodeinfo_print()
1771 ND_PRINT((ndo,"DNS name")); in icmp6_nodeinfo_print()
1776 ND_PRINT((ndo,", 03 draft")); in icmp6_nodeinfo_print()
1778 ND_PRINT((ndo,", \"")); in icmp6_nodeinfo_print()
1783 ND_PRINT((ndo,"\"")); in icmp6_nodeinfo_print()
1787 ND_PRINT((ndo," [TTL=%u]", *(uint32_t *)(ni6 + 1))); in icmp6_nodeinfo_print()
1791 ND_PRINT((ndo,", ")); in icmp6_nodeinfo_print()
1792 ND_PRINT((ndo,"node addresses")); in icmp6_nodeinfo_print()
1797 ND_PRINT((ndo," %s", getname6(ndo, bp + i))); in icmp6_nodeinfo_print()
1799 ND_PRINT((ndo,"(%d)", (int32_t)EXTRACT_32BITS(bp + i))); in icmp6_nodeinfo_print()
1805 ND_PRINT((ndo," [%s%s%s%s%s%s%s]", in icmp6_nodeinfo_print()
1816 ND_PRINT((ndo,", ")); in icmp6_nodeinfo_print()
1817 ND_PRINT((ndo,"unknown")); in icmp6_nodeinfo_print()
1822 ND_PRINT((ndo,")")); in icmp6_nodeinfo_print()
1828 ND_PRINT((ndo, "[|icmp6]")); in icmp6_nodeinfo_print()
1849 ND_PRINT((ndo,"router renum: command")); in icmp6_rrenum_print()
1852 ND_PRINT((ndo,"router renum: result")); in icmp6_rrenum_print()
1855 ND_PRINT((ndo,"router renum: sequence number reset")); in icmp6_rrenum_print()
1858 ND_PRINT((ndo,"router renum: code-#%d", rr6->rr_code)); in icmp6_rrenum_print()
1862 ND_PRINT((ndo,", seq=%u", EXTRACT_32BITS(&rr6->rr_seqnum))); in icmp6_rrenum_print()
1866 ND_PRINT((ndo,"[")); /*]*/ in icmp6_rrenum_print()
1868 ND_PRINT((ndo,"%s%s%s%s%s,", F(ICMP6_RR_FLAGS_TEST, "T"), in icmp6_rrenum_print()
1874 ND_PRINT((ndo,"seg=%u,", rr6->rr_segnum)); in icmp6_rrenum_print()
1875 ND_PRINT((ndo,"maxdelay=%u", EXTRACT_16BITS(&rr6->rr_maxdelay))); in icmp6_rrenum_print()
1877 ND_PRINT((ndo,"rsvd=0x%x", EXTRACT_32BITS(&rr6->rr_reserved))); in icmp6_rrenum_print()
1879 ND_PRINT((ndo,"]")); in icmp6_rrenum_print()
1890 ND_PRINT((ndo,"\n\t")); in icmp6_rrenum_print()
1892 ND_PRINT((ndo," ")); in icmp6_rrenum_print()
1893 ND_PRINT((ndo,"match(")); /*)*/ in icmp6_rrenum_print()
1895 case RPM_PCO_ADD: ND_PRINT((ndo,"add")); break; in icmp6_rrenum_print()
1896 case RPM_PCO_CHANGE: ND_PRINT((ndo,"change")); break; in icmp6_rrenum_print()
1897 case RPM_PCO_SETGLOBAL: ND_PRINT((ndo,"setglobal")); break; in icmp6_rrenum_print()
1898 default: ND_PRINT((ndo,"#%u", match->rpm_code)); break; in icmp6_rrenum_print()
1902 ND_PRINT((ndo,",ord=%u", match->rpm_ordinal)); in icmp6_rrenum_print()
1903 ND_PRINT((ndo,",min=%u", match->rpm_minlen)); in icmp6_rrenum_print()
1904 ND_PRINT((ndo,",max=%u", match->rpm_maxlen)); in icmp6_rrenum_print()
1907 ND_PRINT((ndo,",%s/%u", hbuf, match->rpm_matchlen)); in icmp6_rrenum_print()
1909 ND_PRINT((ndo,",?/%u", match->rpm_matchlen)); in icmp6_rrenum_print()
1911 ND_PRINT((ndo,")")); in icmp6_rrenum_print()
1924 ND_PRINT((ndo,"\n\t")); in icmp6_rrenum_print()
1926 ND_PRINT((ndo," ")); in icmp6_rrenum_print()
1927 ND_PRINT((ndo,"use(")); /*)*/ in icmp6_rrenum_print()
1930 ND_PRINT((ndo,"%s%s,", in icmp6_rrenum_print()
1936 ND_PRINT((ndo,"mask=0x%x,", use->rpu_ramask)); in icmp6_rrenum_print()
1937 ND_PRINT((ndo,"raflags=0x%x,", use->rpu_raflags)); in icmp6_rrenum_print()
1939 ND_PRINT((ndo,"vltime=infty,")); in icmp6_rrenum_print()
1941 ND_PRINT((ndo,"vltime=%u,", in icmp6_rrenum_print()
1944 ND_PRINT((ndo,"pltime=infty,")); in icmp6_rrenum_print()
1946 ND_PRINT((ndo,"pltime=%u,", in icmp6_rrenum_print()
1951 ND_PRINT((ndo,"%s/%u/%u", hbuf, use->rpu_uselen, in icmp6_rrenum_print()
1954 ND_PRINT((ndo,"?/%u/%u", use->rpu_uselen, in icmp6_rrenum_print()
1957 ND_PRINT((ndo,")")); in icmp6_rrenum_print()
1964 ND_PRINT((ndo,"[|icmp6]")); in icmp6_rrenum_print()