moved struct ts3_init_checked_header_data to ts3init_match.c

This commit is contained in:
Maximilian Münchow 2016-10-13 12:40:13 +02:00
parent a2af9c63df
commit 9691026360
2 changed files with 7 additions and 6 deletions

View File

@ -21,12 +21,6 @@ struct ts3_init_header
__u8 payload[20];
};
struct ts3_init_checked_header_data
{
struct udphdr *udp, udp_buf;
struct ts3_init_header* ts3_header, ts3_header_buf;
};
enum
{
COMMAND_GET_COOKIE = 0,

View File

@ -29,6 +29,13 @@
static const struct ts3_init_header_tag ts3init_header_tag_signature =
{ .tag8 = {'T', 'S', '3', 'I', 'N', 'I', 'T', '1'} };
struct ts3_init_checked_header_data
{
struct udphdr *udp, udp_buf;
struct ts3_init_header* ts3_header, ts3_header_buf;
};
static const int header_size = 18;
static int ts3init_payload_sizes[] = { 16, 20, 20, 244, -1, 1 };