Home | History | Annotate | Download | only in ninfod

Lines Matching refs:query

509 	struct icmp6_nodeinfo *query = (struct icmp6_nodeinfo *)p->query;
511 char *subject = (char *)(query + 1);
554 DEBUG(LOG_WARNING, "Query too short\n");
561 for (i = 0; i < sizeof(query->icmp6_ni_nonce); i++) {
562 cp += sprintf(cp, " %02x", query->icmp6_ni_nonce[i]);
566 ntohs(query->ni_qtype), ntohs(query->ni_flags), printbuf);
572 switch(htons(query->ni_qtype)) {
575 if (query->ni_code != ICMP6_NI_SUBJ_FQDN) {
578 __func__, query->ni_code);
584 subjinfo = subjinfo_lookup(query->ni_code);
588 __func__, query->ni_code);
595 qtypeinfo = qtypeinfo_lookup(ntohs(query->ni_qtype));
605 query->ni_flags,
637 query->ni_flags,
659 p->reply.ni_qtype = query->ni_qtype;
660 memcpy(p->reply.icmp6_ni_nonce, query->icmp6_ni_nonce, sizeof(p->reply.icmp6_ni_nonce));
664 /* if query was sent to multicast address,
671 * required if query was sent to anycast or multicast address.