#include "config.h"
#include <signal.h>
#include "util/locks.h"
#include "util/log.h"
#include "util/net_help.h"
#include "util/data/msgencode.h"
#include "util/data/msgreply.h"
#include "util/data/dname.h"
Functions | |
| void | usage (char *argv[]) |
| usage information for streamtcp | |
| static int | open_svr (char *svr, int udp) |
| open TCP socket to svr | |
| static void | write_q (int fd, int udp, ldns_buffer *buf, int id, char *strname, char *strtype, char *strclass) |
| write a query over the TCP fd | |
| static void | recv_one (int fd, int udp, ldns_buffer *buf) |
| receive DNS datagram over TCP and print it | |
| static void | send_em (char *svr, int udp, int noanswer, int num, char **qs) |
| send the TCP queries and print answers | |
| int | main (int argc, char **argv) |
| main program for streamtcp | |
Variables | |
| int | optind |
| getopt global, in case header files fail to declare it. | |
| char * | optarg |
| getopt global, in case header files fail to declare it. | |
| int optind |
getopt global, in case header files fail to declare it.
| char* optarg |
getopt global, in case header files fail to declare it.
1.5.6