HomeSort by: relevance | last modified time | path
    Searched defs:towire (Results 1 - 13 of 13) sorted by relevancy

  /src/external/apache2/mDNSResponder/dist/ServiceRegistration/test/tests/
dangling-query.c 67 dns_towire_state_t towire; local
68 memset(&towire, 0, sizeof(towire));
70 towire.p = &wire->data[0]; // We start storing RR data here.
71 towire.lim = &wire->data[DNS_DATA_SIZE]; // This is the limit to how much we can store.
72 towire.message = wire;
81 dns_full_name_to_wire(NULL, &towire, "_airplay._tcp.local.");
82 dns_u16_to_wire(&towire, dns_rrtype_ptr);
83 dns_u16_to_wire(&towire, dns_qclass_in);
89 towire.p = &wire->data[0]; // We start storing RR data here
    [all...]
dns-push.c 87 dns_towire_state_t towire; local
92 memset(&towire, 0, sizeof(towire));
93 towire.p = &buffer[DNS_HEADER_SIZE];
94 towire.lim = towire.p + (sizeof(dns_message) - DNS_HEADER_SIZE);
95 towire.message = &dns_message;
96 dns_u16_to_wire(&towire, kDSOType_DNSPushUnsubscribe);
97 dns_rdlength_begin(&towire);
98 dns_u16_to_wire(&towire, push_state->subscribe_xids[index])
116 dns_towire_state_t towire; local
590 dns_towire_state_t towire; local
664 dns_towire_state_t towire; local
    [all...]
  /src/external/apache2/mDNSResponder/dist/ServiceRegistration/
dso-utils.c 47 dns_towire_state_t towire; local
48 memset(&towire, 0, sizeof(towire));
49 towire.p = &response.data[0];
50 towire.lim = ((uint8_t *)&response) + sizeof(response);
51 towire.message = &response;
53 size_t namelen = dns_name_to_wire_canonical(towire.p, towire.lim - towire.p, question.name);
55 towire.p += namelen
90 dns_towire_state_t towire; local
    [all...]
srp-filedata.c 143 dns_towire_state_t towire; local
146 memset(&towire, 0, sizeof(towire));
147 towire.p = buffer;
148 towire.lim = towire.p + sizeof(buffer);
154 dns_u16_to_wire(&towire, rrtype);
155 dns_u16_to_wire(&towire, rdlength);
156 dns_rdata_raw_data_to_wire(&towire, rdata, rdlength);
157 dns_rdata_raw_data_to_wire(&towire, port, 2)
    [all...]
icmp.c 469 route_information_to_wire(dns_towire_state_t *towire, void *prefix_data,
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
481 dns_u32_to_wire(towire, BR_PREFIX_LIFETIME); // Route lifetime 1800 seconds (30 minutes)
482 dns_rdata_raw_data_to_wire(towire, prefix, 8); // /64 requires 8 bytes.
567 dns_towire_state_t towire; local
587 memset(&towire, 0, sizeof towire);
736 dns_towire_state_t towire; local
791 dns_towire_state_t towire; local
    [all...]
srp-dns-proxy.c 130 #define name_to_wire(towire, name) name_to_wire_(towire, name, __LINE__)
132 name_to_wire_(dns_towire_state_t *towire, dns_name_t *name, int line)
135 dns_concatenate_name_to_wire_(towire, name, NULL, NULL, line);
139 rdata_to_wire(dns_towire_state_t *towire, dns_rr_t *rr)
141 dns_rdlength_begin(towire);
146 name_to_wire(towire, rr->data.ptr.name);
150 dns_u16_to_wire(towire, rr->data.srv.priority);
151 dns_u16_to_wire(towire, rr->data.srv.weight);
152 dns_u16_to_wire(towire, rr->data.srv.port)
322 dns_towire_state_t towire; local
484 dns_towire_state_t towire; local
    [all...]
srp-client.c 966 conflict_print(client_state_t *client, dns_towire_state_t *towire, char **return_hostname, char *chosen_hostname)
983 if (towire != NULL) {
984 towire->line = __LINE__;
985 towire->outer_line = -1;
986 towire->error = true;
1200 dns_towire_state_t towire; local
1211 memset(&towire, 0, sizeof towire);
1222 #define CH if (towire.error) { line = __LINE__; goto fail; }
1232 towire.p = &message->data[0]
    [all...]
srp-ioloop.c 581 dns_towire_state_t towire; local
586 memset(&towire, 0, sizeof(towire));
587 towire.p = &buffer[DNS_HEADER_SIZE];
588 towire.lim = towire.p + (sizeof(dns_message) - DNS_HEADER_SIZE);
589 towire.message = &dns_message;
590 dns_u16_to_wire(&towire, kDSOType_DNSPushUnsubscribe);
591 dns_rdlength_begin(&towire);
592 dns_u16_to_wire(&towire, dns_push_subscribe_xid)
835 dns_towire_state_t towire; local
875 dns_towire_state_t towire; local
    [all...]
srp-mdns-proxy.c 621 dns_towire_state_t towire; local
622 memset(&towire, 0, sizeof towire);
623 towire.p = &response.data[0]; // We start storing RR data here.
624 towire.lim = &response.data[DNS_DATA_SIZE]; // This is the limit to how much we can store.
625 towire.message = &response;
630 dns_edns0_header_to_wire(&towire, DNS_MAX_UDP_PAYLOAD, 0, 0, 1);
631 dns_rdlength_begin(&towire);
632 dns_u16_to_wire(&towire, dns_opt_update_lease); // OPTION-CODE
633 dns_edns0_option_begin(&towire); // OPTION-LENGT
    [all...]
dns-msg.h 76 dns_towire_state_t towire; member in struct:dns_transaction
374 // towire.c:
491 void dns_concatenate_name_to_wire_(dns_towire_state_t *NONNULL towire,
510 bool dns_rr_to_wire(dns_towire_state_t *NONNULL towire, dns_rr_t *NONNULL rr, bool question);
511 void dns_message_rrs_to_wire(dns_towire_state_t *NONNULL towire, dns_message_t *NONNULL message);
srp-replication.c 1247 srpl_dso_message_setup(dso_state_t *dso, dso_message_t *state, dns_towire_state_t *towire, uint8_t *buffer,
1280 memset(towire, 0, sizeof(*towire));
1281 towire->p = &buffer[DNS_HEADER_SIZE];
1282 towire->lim = towire->p + (buffer_size - DNS_HEADER_SIZE);
1283 towire->message = (dns_wire_t *)buffer;
1301 dns_towire_state_t towire; local
1305 if (!srpl_dso_message_setup(srpl_connection->dso, &message, &towire, dsobuf, sizeof(dsobuf),
1310 dns_u16_to_wire(&towire, kDSOType_Keepalive)
1375 dns_towire_state_t towire; local
1450 dns_towire_state_t towire; local
1483 dns_towire_state_t towire; local
1537 dns_towire_state_t towire; local
1589 dns_towire_state_t towire; local
1754 dns_towire_state_t towire; local
1787 dns_towire_state_t towire; local
3785 dns_towire_state_t towire; local
    [all...]
dnssd-proxy.c 228 dns_towire_state_t towire; member in struct:dnssd_query
323 #define TOWIRE_CHECK(note, towire, func) { func; if ((towire)->error != 0 && failnote == NULL) failnote = (note); }
1159 dns_towire_state_t *towire = &query->towire; local
1164 uint8_t *revert = query->towire.p; // Remember where we were in case there's no room.
1221 TOWIRE_CHECK("concatenate_name_to_wire", towire,
1222 dns_concatenate_name_to_wire(towire, NULL, question->name, question->served_domain->domain));
1226 TOWIRE_CHECK("compress_name_to_wire", towire, dns_concatenate_name_to_wire(towire, NULL, NULL, question->name))
1453 dns_towire_state_t towire; local
1568 dns_towire_state_t towire; local
1770 dns_towire_state_t towire; local
2042 dns_towire_state_t towire; local
2077 dns_towire_state_t towire; local
2151 dns_towire_state_t towire; local
2388 dns_towire_state_t *towire = &query->towire; local
3746 dns_towire_state_t towire; local
5274 dns_towire_state_t towire; local
5486 dns_towire_state_t towire; local
    [all...]
  /src/external/mpl/bind/dist/fuzz/
dns_rdata_fromwire_text.c 95 unsigned char towire[1024]; local
208 isc_buffer_init(&target, towire, sizeof(towire));

Completed in 28 milliseconds