diff --git a/src/ts3init_header.h b/src/ts3init_header.h index 8fd79f8..27b0634 100644 --- a/src/ts3init_header.h +++ b/src/ts3init_header.h @@ -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, diff --git a/src/ts3init_match.c b/src/ts3init_match.c index 62a2eab..f025376 100644 --- a/src/ts3init_match.c +++ b/src/ts3init_match.c @@ -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 };