Home
last modified time | relevance | path

Searched refs:AvahiDnsPacket (Results 1 – 14 of 14) sorted by relevance

/external/avahi/avahi-core/
Ddns.h32 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 …]
Ddns.c39 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 …]
Dsocket.h38 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…
Dsocket.c473 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()
Diface.h169 void avahi_interface_send_packet(AvahiInterface *i, AvahiDnsPacket *p);
170 void avahi_interface_send_packet_unicast(AvahiInterface *i, AvahiDnsPacket *p, const AvahiAddress *…
Dquery-sched.c212 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()
Dserver.c363 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()
Ddns-spin-test.c91 AvahiDnsPacket *packet; in main()
Dwide-area.c70 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()
Dprobe-sched.c165 static int packet_add_probe_query(AvahiProbeScheduler *s, AvahiDnsPacket *p, AvahiProbeJob *pj) { in packet_add_probe_query()
220 AvahiDnsPacket *p; in elapse_callback()
Ddns-test.c41 AvahiDnsPacket *p; in main()
Dresponse-sched.c200 static int packet_add_response_job(AvahiResponseScheduler *s, AvahiDnsPacket *p, AvahiResponseJob *… in packet_add_response_job()
218 AvahiDnsPacket *p; in send_response_packet()
Dinternal.h171 void avahi_server_generate_response(AvahiServer *s, AvahiInterface *i, AvahiDnsPacket *p, const Ava…
Diface.c568 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()