X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fcontrol_common.h;h=2be4abd57869c2cb31da69f318c22f493d9f72ff;hb=5822f817aa802c2c5a83e9d99a8ae78cb822799b;hp=99cf8afff9d19efb560d183280eb19c6cd77cadb;hpb=886a6f61a1f4cc48a77b42d10f34f9126377d904;p=tinc diff --git a/src/control_common.h b/src/control_common.h index 99cf8aff..2be4abd5 100644 --- a/src/control_common.h +++ b/src/control_common.h @@ -1,6 +1,10 @@ +#ifndef TINC_CONTROL_COMMON_H +#define TINC_CONTROL_COMMON_H + /* control_protocol.h -- control socket protocol. - Copyright (C) 2007 Scott Lamb + Copyright (C) 2007 Scott Lamb + 2009-2012 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,9 +21,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_CONTROL_PROTOCOL_H__ -#define __TINC_CONTROL_PROTOCOL_H__ - #include "protocol.h" enum request_type { @@ -37,6 +38,9 @@ enum request_type { REQ_RETRY, REQ_CONNECT, REQ_DISCONNECT, + REQ_DUMP_TRAFFIC, + REQ_PCAP, + REQ_LOG, }; #define TINC_CTL_VERSION_CURRENT 0