Lines Matching refs:dns_u8_to_wire
477 dns_u8_to_wire(towire, ND_OPT_ROUTE_INFORMATION);
478 dns_u8_to_wire(towire, 2); // length / 8
479 dns_u8_to_wire(towire, 64); // Interface prefixes are always 64 bits
480 dns_u8_to_wire(towire, 0); // There's no reason at present to prefer one Thread BR over another
594 dns_u8_to_wire(&towire, ND_ROUTER_ADVERT); // icmp6_type
595 dns_u8_to_wire(&towire, 0); // icmp6_code
597 dns_u8_to_wire(&towire, 0); // Hop limit, we don't set.
598 dns_u8_to_wire(&towire, 0); // Flags. We don't offer DHCP, so We set neither the M nor the O bit.
620 dns_u8_to_wire(&towire, ND_OPT_MTU);
621 dns_u8_to_wire(&towire, 1); // length / 8
629 dns_u8_to_wire(&towire, ND_OPT_PREFIX_INFORMATION);
630 dns_u8_to_wire(&towire, 4); // length / 8
631 dns_u8_to_wire(&towire, 64); // On-link prefix is always 64 bits
632 dns_u8_to_wire(&towire, ND_OPT_PI_FLAG_ONLINK | ND_OPT_PI_FLAG_AUTO); // On link, autoconfig
696 dns_u8_to_wire(&towire, ND_OPT_ROUTE_INFORMATION);
697 dns_u8_to_wire(&towire, 3); // length / 8
698 dns_u8_to_wire(&towire, 48); // ULA prefixes are always 48 bits
699 dns_u8_to_wire(&towire, 0); // There's no reason at present to prefer one Thread BR over another
706 dns_u8_to_wire(&towire, ND_OPT_RA_FLAGS_EXTENSION);
707 dns_u8_to_wire(&towire, 1); // length / 8
708 dns_u8_to_wire(&towire, RA_FLAGS1_STUB_ROUTER);
709 dns_u8_to_wire(&towire, 0); // Five bytes of zero flag bits
714 dns_u8_to_wire(&towire, ND_OPT_SOURCE_LINKADDR);
715 dns_u8_to_wire(&towire, 1); // length / 8
761 dns_u8_to_wire(&towire, ND_ROUTER_SOLICIT); // icmp6_type
762 dns_u8_to_wire(&towire, 0); // icmp6_code
768 dns_u8_to_wire(&towire, ND_OPT_SOURCE_LINKADDR);
769 dns_u8_to_wire(&towire, 1); // length / 8
808 dns_u8_to_wire(&towire, ND_NEIGHBOR_SOLICIT); // icmp6_type
809 dns_u8_to_wire(&towire, 0); // icmp6_code
816 dns_u8_to_wire(&towire, ND_OPT_SOURCE_LINKADDR);
817 dns_u8_to_wire(&towire, 1); // length / 8