Home | History | Annotate | Download | only in avahi-core

Lines Matching refs:AvahiDnsPacket

39 AvahiDnsPacket* avahi_dns_packet_new(unsigned mtu) {
40 AvahiDnsPacket *p;
53 if (!(p = avahi_malloc(sizeof(AvahiDnsPacket) + max_size)))
65 AvahiDnsPacket* avahi_dns_packet_new_query(unsigned mtu) {
66 AvahiDnsPacket *p;
75 AvahiDnsPacket* avahi_dns_packet_new_response(unsigned mtu, int aa) {
76 AvahiDnsPacket *p;
85 AvahiDnsPacket* avahi_dns_packet_new_reply(AvahiDnsPacket* p, unsigned mtu, int copy_queries, int aa) {
86 AvahiDnsPacket *r;
124 void avahi_dns_packet_free(AvahiDnsPacket *p) {
133 void avahi_dns_packet_set_field(AvahiDnsPacket *p, unsigned idx, uint16_t v) {
140 uint16_t avahi_dns_packet_get_field(AvahiDnsPacket *p, unsigned idx) {
147 void avahi_dns_packet_inc_field(AvahiDnsPacket *p, unsigned idx) {
156 AvahiDnsPacket *p = user_data;
162 void avahi_dns_packet_cleanup_name_table(AvahiDnsPacket *p) {
167 uint8_t* avahi_dns_packet_append_name(AvahiDnsPacket *p, const char *name) {
235 uint8_t* avahi_dns_packet_append_uint16(AvahiDnsPacket *p, uint16_t v) {
247 uint8_t *avahi_dns_packet_append_uint32(AvahiDnsPacket *p, uint32_t v) {
262 uint8_t *avahi_dns_packet_append_bytes(AvahiDnsPacket *p, const void *b, size_t l) {
276 uint8_t* avahi_dns_packet_append_string(AvahiDnsPacket *p, const char *s) {
295 uint8_t *avahi_dns_packet_extend(AvahiDnsPacket *p, size_t l) {
309 int avahi_dns_packet_check_valid(AvahiDnsPacket *p) {
324 int avahi_dns_packet_check_valid_multicast(AvahiDnsPacket *p) {
339 int avahi_dns_packet_is_query(AvahiDnsPacket *p) {
345 static int consume_labels(AvahiDnsPacket *p, unsigned idx, char *ret_name, size_t l) {
421 int avahi_dns_packet_consume_name(AvahiDnsPacket *p, char *ret_name, size_t l) {
431 int avahi_dns_packet_consume_uint16(AvahiDnsPacket *p, uint16_t *ret_v) {
447 int avahi_dns_packet_consume_uint32(AvahiDnsPacket *p, uint32_t *ret_v) {
463 int avahi_dns_packet_consume_bytes(AvahiDnsPacket *p, void * ret_data, size_t l) {
477 int avahi_dns_packet_consume_string(AvahiDnsPacket *p, char *ret_string, size_t l) {
503 const void* avahi_dns_packet_get_rptr(AvahiDnsPacket *p) {
512 int avahi_dns_packet_skip(AvahiDnsPacket *p, size_t length) {
522 static int parse_rdata(AvahiDnsPacket *p, AvahiRecord *r, uint16_t rdlength) {
621 AvahiRecord* avahi_dns_packet_consume_record(AvahiDnsPacket *p, int *ret_cache_flush) {
660 AvahiKey* avahi_dns_packet_consume_key(AvahiDnsPacket *p, int *ret_unicast_response) {
688 uint8_t* avahi_dns_packet_append_key(AvahiDnsPacket *p, AvahiKey *k, int unicast_response) {
709 static int append_rdata(AvahiDnsPacket *p, AvahiRecord *r) {
783 uint8_t* avahi_dns_packet_append_record(AvahiDnsPacket *p, AvahiRecord *r, int cache_flush, unsigned max_ttl) {
822 int avahi_dns_packet_is_empty(AvahiDnsPacket *p) {
828 size_t avahi_dns_packet_space(AvahiDnsPacket *p) {
838 AvahiDnsPacket p;
857 AvahiDnsPacket p;