Lines Matching refs:AvahiServer
54 static void enum_aux_records(AvahiServer *s, AvahiInterface *i, const char *name, uint16_t type, void (*callback)(AvahiServer *s, AvahiRecord *r, int flush_cache, void* userdata), void* userdata) {
85 void avahi_server_enumerate_aux_records(AvahiServer *s, AvahiInterface *i, AvahiRecord *r, void (*callback)(AvahiServer *s, AvahiRecord *r, int flush_cache, void* userdata), void* userdata) {
105 void avahi_server_prepare_response(AvahiServer *s, AvahiInterface *i, AvahiEntry *e, int unicast_response, int auxiliary) {
113 void avahi_server_prepare_matching_responses(AvahiServer *s, AvahiInterface *i, AvahiKey *k, int unicast_response) {
154 static void withdraw_entry(AvahiServer *s, AvahiEntry *e) {
184 static void withdraw_rrset(AvahiServer *s, AvahiKey *key) {
196 static void incoming_probe(AvahiServer *s, AvahiRecord *record, AvahiInterface *i) {
241 static int handle_conflict(AvahiServer *s, AvahiInterface *i, AvahiRecord *record, int unique) {
346 static void append_aux_callback(AvahiServer *s, AvahiRecord *r, int flush_cache, void* userdata) {
356 static void append_aux_records_to_list(AvahiServer *s, AvahiInterface *i, AvahiRecord *r, int unicast_response) {
363 void avahi_server_generate_response(AvahiServer *s, AvahiInterface *i, AvahiDnsPacket *p, const AvahiAddress *a, uint16_t port, int legacy_unicast, int immediately) {
499 static void reflect_response(AvahiServer *s, AvahiInterface *i, AvahiRecord *r, int flush_cache) {
515 AvahiServer *s = userdata;
526 static void reflect_query(AvahiServer *s, AvahiInterface *i, AvahiKey *k) {
548 static void reflect_probe(AvahiServer *s, AvahiInterface *i, AvahiRecord *r) {
563 static void handle_query_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInterface *i, const AvahiAddress *a, uint16_t port, int legacy_unicast, int from_local_iface) {
650 static void handle_response_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInterface *i, const AvahiAddress *a, int from_local_iface) {
689 static AvahiLegacyUnicastReflectSlot* allocate_slot(AvahiServer *s) {
718 static void deallocate_slot(AvahiServer *s, AvahiLegacyUnicastReflectSlot *slot) {
734 static void free_slots(AvahiServer *s) {
749 static AvahiLegacyUnicastReflectSlot* find_slot(AvahiServer *s, uint16_t id) {
775 static void reflect_legacy_unicast_query_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInterface *i, const AvahiAddress *a, uint16_t port) {
829 static int originates_from_local_legacy_unicast_socket(AvahiServer *s, const AvahiAddress *address, uint16_t port) {
872 static int originates_from_local_iface(AvahiServer *s, AvahiIfIndex iface, const AvahiAddress *a, uint16_t port) {
884 static void dispatch_packet(AvahiServer *s, AvahiDnsPacket *p, const AvahiAddress *src_address, uint16_t port, const AvahiAddress *dst_address, AvahiIfIndex iface, int ttl) {
981 static void dispatch_legacy_unicast_packet(AvahiServer *s, AvahiDnsPacket *p) {
1012 static void cleanup_dead(AvahiServer *s) {
1020 AvahiServer *s = userdata;
1056 AvahiServer *s = userdata;
1078 static void server_set_state(AvahiServer *s, AvahiServerState state) {
1092 static void withdraw_host_rrs(AvahiServer *s) {
1105 void avahi_server_decrease_host_rr_pending(AvahiServer *s) {
1114 void avahi_host_rr_entry_group_callback(AvahiServer *s, AvahiSEntryGroup *g, AvahiEntryGroupState state, AVAHI_GCC_UNUSED void *userdata) {
1132 static void register_hinfo(AvahiServer *s) {
1177 static void register_localhost(AvahiServer *s) {
1189 static void register_browse_domain(AvahiServer *s) {
1217 static void register_stuff(AvahiServer *s) {
1233 static void update_fqdn(AvahiServer *s) {
1247 int avahi_server_set_host_name(AvahiServer *s, const char *host_name) {
1275 int avahi_server_set_domain_name(AvahiServer *s, const char *domain_name) {
1324 static int setup_sockets(AvahiServer *s) {
1359 AvahiServer *avahi_server_new(const AvahiPoll *poll_api, const AvahiServerConfig *sc, AvahiServerCallback callback, void* userdata, int *error) {
1360 AvahiServer *s;
1369 if (!(s = avahi_new(AvahiServer, 1))) {
1454 void avahi_server_free(AvahiServer* s) {
1533 const char* avahi_server_get_domain_name(AvahiServer *s) {
1539 const char* avahi_server_get_host_name(AvahiServer *s) {
1545 const char* avahi_server_get_host_name_fqdn(AvahiServer *s) {
1551 void* avahi_server_get_data(AvahiServer *s) {
1557 void avahi_server_set_data(AvahiServer *s, void* userdata) {
1563 AvahiServerState avahi_server_get_state(AvahiServer *s) {
1657 int avahi_server_errno(AvahiServer *s) {
1664 int avahi_server_set_errno(AvahiServer *s, int error) {
1670 uint32_t avahi_server_get_local_service_cookie(AvahiServer *s) {
1676 static AvahiEntry *find_entry(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, AvahiKey *key) {
1693 int avahi_server_get_group_of_service(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, const char *name, const char *type, const char *domain, AvahiSEntryGroup** ret_group) {
1727 int avahi_server_is_service_local(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, const char *name) {
1749 int avahi_server_is_record_local(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, AvahiRecord *record) {
1767 int avahi_server_set_wide_area_servers(AvahiServer *s, const AvahiAddress *a, unsigned n) {
1777 const AvahiServerConfig* avahi_server_get_config(AvahiServer *s) {
1784 int avahi_server_set_browse_domains(AvahiServer *s, AvahiStringList *domains) {