Searched refs:AvahiDnsPacket (Results 1 – 14 of 14) sorted by relevance
/external/avahi/avahi-core/ |
D | dns.h | 32 typedef struct AvahiDnsPacket { struct 36 } AvahiDnsPacket; argument 38 #define AVAHI_DNS_PACKET_DATA(p) ((p)->data ? (p)->data : ((uint8_t*) p) + sizeof(AvahiDnsPacket)) 40 AvahiDnsPacket* avahi_dns_packet_new(unsigned mtu); 41 AvahiDnsPacket* avahi_dns_packet_new_query(unsigned mtu); 42 AvahiDnsPacket* avahi_dns_packet_new_response(unsigned mtu, int aa); 44 AvahiDnsPacket* avahi_dns_packet_new_reply(AvahiDnsPacket* p, unsigned mtu, int copy_queries, int a… 46 void avahi_dns_packet_free(AvahiDnsPacket *p); 47 void avahi_dns_packet_set_field(AvahiDnsPacket *p, unsigned idx, uint16_t v); 48 uint16_t avahi_dns_packet_get_field(AvahiDnsPacket *p, unsigned idx); [all …]
|
D | dns.c | 39 AvahiDnsPacket* avahi_dns_packet_new(unsigned mtu) { in avahi_dns_packet_new() 40 AvahiDnsPacket *p; in avahi_dns_packet_new() 53 if (!(p = avahi_malloc(sizeof(AvahiDnsPacket) + max_size))) in avahi_dns_packet_new() 65 AvahiDnsPacket* avahi_dns_packet_new_query(unsigned mtu) { in avahi_dns_packet_new_query() 66 AvahiDnsPacket *p; in avahi_dns_packet_new_query() 75 AvahiDnsPacket* avahi_dns_packet_new_response(unsigned mtu, int aa) { in avahi_dns_packet_new_response() 76 AvahiDnsPacket *p; in avahi_dns_packet_new_response() 85 AvahiDnsPacket* avahi_dns_packet_new_reply(AvahiDnsPacket* p, unsigned mtu, int copy_queries, int a… in avahi_dns_packet_new_reply() 86 AvahiDnsPacket *r; in avahi_dns_packet_new_reply() 124 void avahi_dns_packet_free(AvahiDnsPacket *p) { in avahi_dns_packet_free() [all …]
|
D | socket.h | 38 int avahi_send_dns_packet_ipv4(int fd, AvahiIfIndex iface, AvahiDnsPacket *p, const AvahiIPv4Addres… 39 int avahi_send_dns_packet_ipv6(int fd, AvahiIfIndex iface, AvahiDnsPacket *p, const AvahiIPv6Addres… 41 AvahiDnsPacket *avahi_recv_dns_packet_ipv4(int fd, AvahiIPv4Address *ret_src_address, uint16_t *ret… 42 AvahiDnsPacket *avahi_recv_dns_packet_ipv6(int fd, AvahiIPv6Address *ret_src_address, uint16_t *ret…
|
D | socket.c | 473 AvahiDnsPacket *p, in avahi_send_dns_packet_ipv4() 567 AvahiDnsPacket *p, in avahi_send_dns_packet_ipv6() 626 AvahiDnsPacket *avahi_recv_dns_packet_ipv4( in avahi_recv_dns_packet_ipv4() 634 AvahiDnsPacket *p= NULL; in avahi_recv_dns_packet_ipv4() 787 AvahiDnsPacket *avahi_recv_dns_packet_ipv6( in avahi_recv_dns_packet_ipv6() 795 AvahiDnsPacket *p = NULL; in avahi_recv_dns_packet_ipv6()
|
D | iface.h | 169 void avahi_interface_send_packet(AvahiInterface *i, AvahiDnsPacket *p); 170 void avahi_interface_send_packet_unicast(AvahiInterface *i, AvahiDnsPacket *p, const AvahiAddress *…
|
D | query-sched.c | 212 static int packet_add_query_job(AvahiQueryScheduler *s, AvahiDnsPacket *p, AvahiQueryJob *qj) { in packet_add_query_job() 228 static void append_known_answers_and_send(AvahiQueryScheduler *s, AvahiDnsPacket *p) { in append_known_answers_and_send() 276 AvahiDnsPacket *p; in elapse_callback()
|
D | server.c | 363 void avahi_server_generate_response(AvahiServer *s, AvahiInterface *i, AvahiDnsPacket *p, const Ava… in avahi_server_generate_response() 370 AvahiDnsPacket *reply; in avahi_server_generate_response() 398 AvahiDnsPacket *reply = NULL; in avahi_server_generate_response() 571 static void handle_query_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInterface *i, const AvahiAd… in handle_query_packet() 658 static void handle_response_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInterface *i, const Avah… in handle_response_packet() 782 static void reflect_legacy_unicast_query_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInterface *… in reflect_legacy_unicast_query_packet() 891 static void dispatch_packet(AvahiServer *s, AvahiDnsPacket *p, const AvahiAddress *src_address, uin… in dispatch_packet() 987 static void dispatch_legacy_unicast_packet(AvahiServer *s, AvahiDnsPacket *p) { in dispatch_legacy_unicast_packet() 1021 AvahiDnsPacket *p = NULL; in mcast_socket_event() 1056 AvahiDnsPacket *p = NULL; in legacy_unicast_socket_event()
|
D | dns-spin-test.c | 91 AvahiDnsPacket *packet; in main()
|
D | wide-area.c | 70 AvahiDnsPacket *packet; 123 static int send_to_dns_server(AvahiWideAreaLookup *l, AvahiDnsPacket *p) { in send_to_dns_server() 480 static void handle_packet(AvahiWideAreaLookupEngine *e, AvahiDnsPacket *p) { in handle_packet() 555 AvahiDnsPacket *p = NULL; in socket_event()
|
D | probe-sched.c | 165 static int packet_add_probe_query(AvahiProbeScheduler *s, AvahiDnsPacket *p, AvahiProbeJob *pj) { in packet_add_probe_query() 220 AvahiDnsPacket *p; in elapse_callback()
|
D | dns-test.c | 41 AvahiDnsPacket *p; in main()
|
D | response-sched.c | 200 static int packet_add_response_job(AvahiResponseScheduler *s, AvahiDnsPacket *p, AvahiResponseJob *… in packet_add_response_job() 218 AvahiDnsPacket *p; in send_response_packet()
|
D | internal.h | 171 void avahi_server_generate_response(AvahiServer *s, AvahiInterface *i, AvahiDnsPacket *p, const Ava…
|
D | iface.c | 568 void avahi_interface_send_packet_unicast(AvahiInterface *i, AvahiDnsPacket *p, const AvahiAddress *… in avahi_interface_send_packet_unicast() 604 void avahi_interface_send_packet(AvahiInterface *i, AvahiDnsPacket *p) { in avahi_interface_send_packet()
|