This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* "gfw" match extension for Xtables | |
* | |
* Copyright © Klzgrad <klzgrad@gmail.com>, 2010 | |
* | |
* This program is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License; either version 2 | |
* or 3 of the License, as published by the Free Software Foundation. | |
*/ | |
#include <linux/module.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
void socket_iphdrincl(int sd) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <pcap.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#ifdef WINVER | |
#include <winsock.h> | |
#else | |
#include <sys/socket.h> |
NewerOlder