Home
last modified time | relevance | path

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

/dports/dns/dq/dq-20181021/dq/
H A Ddqcache.c58 static int mytypeincoming = XSOCKET_V6; variable
91 xsocket_send(udp53, mytypeincoming, response, response_len, u[j].ip, u[j].port, u[j].scope_id); in u_respond()
139 len = xsocket_recv(udp53, mytypeincoming, buf, sizeof buf, x->ip, x->port, &x->scope_id); in u_new()
325 x->tcp = xsocket_accept(tcp53, mytypeincoming, x->ip, x->port, &x->scope_id); in t_new()
481 mytypeincoming = xsocket_type(myipincoming); in main()
483 udp53 = xsocket_udp(mytypeincoming); in main()
485 …if (xsocket_bind_reuse(udp53, mytypeincoming, myipincoming, myport, 0) == -1) die_fatal("unable to… in main()
487 tcp53 = xsocket_tcp(mytypeincoming); in main()
489 …if (xsocket_bind_reuse(tcp53, mytypeincoming, myipincoming, myport, 0) == -1) die_fatal("unable to… in main()