Home
last modified time | relevance | path

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

/dports/dns/ldapdns/ldapdns-2.07/
H A Dudpserver.c6 static int udp53 = -1; variable
39 udp53 = socket_udp6(); in tp_initialize()
42 udp53 = socket_udp4(); in tp_initialize()
43 if (udp53 == -1) in tp_initialize()
62 if (socket_bind4_reuse(udp53, ip, port) == -1) in tp_initialize()
65 ndelay_off(udp53); in tp_initialize()
66 socket_tryreservein(udp53, 65536); in tp_initialize()
104 len = socket_recv6(udp53, in tp_read()
111 len = socket_recv4(udp53, in tp_read()
119 cfatal("read failed(%d): %s", udp53); in tp_read()
[all …]
/dports/mail/qmail-conf/qmail-conf-0.60/djbdns-1.05/
H A Dserver.c85 int udp53; in main() local
93 udp53 = socket_udp(); in main()
94 if (udp53 == -1) in main()
96 if (socket_bind4_reuse(udp53,ip,53) == -1) in main()
103 ndelay_off(udp53); in main()
104 socket_tryreservein(udp53,65536); in main()
109 len = socket_recv4(udp53,buf,sizeof buf,ip,&port); in main()
113 socket_send4(udp53,response,response_len,ip,port); in main()
H A Ddnscache.c55 static int udp53; variable
81 socket_send4(udp53,response,response_len,u[j].ip,u[j].port); in u_respond()
112 len = socket_recv4(udp53,buf,sizeof buf,x->ip,&x->port); in u_new()
328 udp53io->fd = udp53; in doit()
400 udp53 = socket_udp(); in main()
401 if (udp53 == -1) in main()
403 if (socket_bind4_reuse(udp53,myipincoming,53) == -1) in main()
414 socket_tryreservein(udp53,131072); in main()
/dports/dns/djbdns/djbdns-1.05/
H A Dserver.c85 int udp53; in main() local
93 udp53 = socket_udp(); in main()
94 if (udp53 == -1) in main()
96 if (socket_bind4_reuse(udp53,ip,53) == -1) in main()
103 ndelay_off(udp53); in main()
104 socket_tryreservein(udp53,65536); in main()
109 len = socket_recv4(udp53,buf,sizeof buf,ip,&port); in main()
113 socket_send4(udp53,response,response_len,ip,port); in main()
H A Ddnscache.c55 static int udp53; variable
81 socket_send4(udp53,response,response_len,u[j].ip,u[j].port); in u_respond()
112 len = socket_recv4(udp53,buf,sizeof buf,x->ip,&x->port); in u_new()
328 udp53io->fd = udp53; in doit()
400 udp53 = socket_udp(); in main()
401 if (udp53 == -1) in main()
403 if (socket_bind4_reuse(udp53,myipincoming,53) == -1) in main()
414 socket_tryreservein(udp53,131072); in main()
/dports/dns/djbdns-tools/djbdns-1.05/
H A Dserver.c85 int udp53; in main() local
93 udp53 = socket_udp(); in main()
94 if (udp53 == -1) in main()
96 if (socket_bind4_reuse(udp53,ip,53) == -1) in main()
103 ndelay_off(udp53); in main()
104 socket_tryreservein(udp53,65536); in main()
109 len = socket_recv4(udp53,buf,sizeof buf,ip,&port); in main()
113 socket_send4(udp53,response,response_len,ip,port); in main()
H A Ddnscache.c55 static int udp53; variable
81 socket_send4(udp53,response,response_len,u[j].ip,u[j].port); in u_respond()
112 len = socket_recv4(udp53,buf,sizeof buf,x->ip,&x->port); in u_new()
328 udp53io->fd = udp53; in doit()
400 udp53 = socket_udp(); in main()
401 if (udp53 == -1) in main()
403 if (socket_bind4_reuse(udp53,myipincoming,53) == -1) in main()
414 socket_tryreservein(udp53,131072); in main()
/dports/dns/dq/dq-20181021/dq/
H A Ddqcache.c64 static int udp53; 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()
359 udp53io->fd = udp53; in doit()
483 udp53 = xsocket_udp(mytypeincoming); in main()
484 if (udp53 == -1) die_fatal("unable to create UDP socket", 0); in main()
485 …if (xsocket_bind_reuse(udp53, mytypeincoming, myipincoming, myport, 0) == -1) die_fatal("unable to… in main()
514 xsocket_tryreservein(udp53, 131072); in main()