Home
last modified time | relevance | path

Searched refs:srv (Results 1 – 2 of 2) sorted by relevance

/device/linaro/dragonboard/qcom/qrtr/src/
Dns.c118 static int server_match(const struct server *srv, const struct server_filter *f) in server_match() argument
122 if (f->service != 0 && srv->service != f->service) in server_match()
126 return (srv->instance & ifilter) == f->instance; in server_match()
141 struct server *srv; in server_query() local
143 srv = map_iter_data(me, struct server, mi); in server_query()
144 if (!server_match(srv, f)) in server_query()
147 list_append(list, &srv->qli); in server_query()
157 struct server *srv) in service_announce_new() argument
163 srv->service, srv->instance, srv->node, srv->port); in service_announce_new()
166 cmsg.server.service = cpu_to_le32(srv->service); in service_announce_new()
[all …]
/device/linaro/dragonboard/qcom/qrtr/
Dqrtr.py24 def _lookup_list_add(self, ptr, srv, instance, node, port): argument
25 res = qrtr.Result(srv, instance, (node, port))
28 def lookup(self, srv, instance=0, ifilter=0): argument
30 err = _qrtr.qrtr_lookup(self.sock, srv, instance, ifilter,