trafgen: make trafgen multithreaded!
[netsniff-ng.git] / src / cli_dns.c
blob204c9d4bb991da5b5385a1d707513dd83119012a
1 /*
2 * Mausezahn - A fast versatile traffic generator
3 * Copyright (C) 2008-2010 Herbert Haas
4 *
5 * This program is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License version 2 as published by the
7 * Free Software Foundation.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12 * details.
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, see http://www.gnu.org/licenses/gpl-2.0.html
21 #include "mz.h"
22 #include "cli.h"
23 #include "mops.h"
25 int cmd_dns_query(struct cli_def *cli, char *command, char *argv[], int argc)
28 return CLI_OK;
32 int cmd_dns_answer(struct cli_def *cli, char *command, char *argv[], int argc)
35 return CLI_OK;
39 int cmd_dns_ttl(struct cli_def *cli, char *command, char *argv[], int argc)
42 return CLI_OK;
46 int cmd_dns_end(struct cli_def *cli, char *command, char *argv[], int argc)
48 char prompt[16];
49 sprintf(prompt, "pkt-%i",clipkt->id);
50 cli_set_configmode(cli, MZ_MODE_PACKET, prompt);
51 return CLI_OK;