Browse Source

moved struct ts3_init_checked_header_data to ts3init_match.c

pull/1/head
Maximilian Münchow 8 years ago
parent
commit
9691026360
  1. 6
      src/ts3init_header.h
  2. 7
      src/ts3init_match.c

6
src/ts3init_header.h

@ -21,12 +21,6 @@ struct ts3_init_header @@ -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,

7
src/ts3init_match.c

@ -29,6 +29,13 @@ @@ -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 };

Loading…
Cancel
Save