mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2026-01-28 21:20:35 +03:00
Deglobalize struct config.
New config structure allows to implement refcounting in the kernel module to escape borderline cases on module exit or config hot swap.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
* Processes the packet and returns verdict.
|
||||
* This is the primary function that traverses the packet.
|
||||
*/
|
||||
int process_packet(const struct packet_data *pd);
|
||||
int process_packet(const struct config_t *config, const struct packet_data *pd);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user