mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 13:15:12 +02:00
ipp2p: internally simplify selecting protocol searches
This commit is contained in:
@@ -2,30 +2,45 @@
|
||||
#define __IPT_IPP2P_H
|
||||
#define IPP2P_VERSION "0.8.1_rc1"
|
||||
|
||||
enum {
|
||||
IPP2N_EDK,
|
||||
IPP2N_DATA_KAZAA,
|
||||
IPP2N_DATA_EDK,
|
||||
IPP2N_DATA_DC,
|
||||
IPP2N_DC,
|
||||
IPP2N_DATA_GNU,
|
||||
IPP2N_GNU,
|
||||
IPP2N_KAZAA,
|
||||
IPP2N_BIT,
|
||||
IPP2N_APPLE,
|
||||
IPP2N_SOUL,
|
||||
IPP2N_WINMX,
|
||||
IPP2N_ARES,
|
||||
IPP2N_MUTE,
|
||||
IPP2N_WASTE,
|
||||
IPP2N_XDCC,
|
||||
|
||||
IPP2P_EDK = 1 << IPP2N_EDK,
|
||||
IPP2P_DATA_KAZAA = 1 << IPP2N_DATA_KAZAA,
|
||||
IPP2P_DATA_EDK = 1 << IPP2N_DATA_EDK,
|
||||
IPP2P_DATA_DC = 1 << IPP2N_DATA_DC,
|
||||
IPP2P_DC = 1 << IPP2N_DC,
|
||||
IPP2P_DATA_GNU = 1 << IPP2N_DATA_GNU,
|
||||
IPP2P_GNU = 1 << IPP2N_GNU,
|
||||
IPP2P_KAZAA = 1 << IPP2N_KAZAA,
|
||||
IPP2P_BIT = 1 << IPP2N_BIT,
|
||||
IPP2P_APPLE = 1 << IPP2N_APPLE,
|
||||
IPP2P_SOUL = 1 << IPP2N_SOUL,
|
||||
IPP2P_WINMX = 1 << IPP2N_WINMX,
|
||||
IPP2P_ARES = 1 << IPP2N_ARES,
|
||||
IPP2P_MUTE = 1 << IPP2N_MUTE,
|
||||
IPP2P_WASTE = 1 << IPP2N_WASTE,
|
||||
IPP2P_XDCC = 1 << IPP2N_XDCC,
|
||||
};
|
||||
|
||||
struct ipt_p2p_info {
|
||||
int cmd;
|
||||
int debug;
|
||||
};
|
||||
|
||||
#endif //__IPT_IPP2P_H
|
||||
|
||||
#define SHORT_HAND_IPP2P 1 /* --ipp2p switch*/
|
||||
//#define SHORT_HAND_DATA 4 /* --ipp2p-data switch*/
|
||||
#define SHORT_HAND_NONE 5 /* no short hand*/
|
||||
|
||||
#define IPP2P_EDK (1 << 1)
|
||||
#define IPP2P_DATA_KAZAA (1 << 2)
|
||||
#define IPP2P_DATA_EDK (1 << 3)
|
||||
#define IPP2P_DATA_DC (1 << 4)
|
||||
#define IPP2P_DC (1 << 5)
|
||||
#define IPP2P_DATA_GNU (1 << 6)
|
||||
#define IPP2P_GNU (1 << 7)
|
||||
#define IPP2P_KAZAA (1 << 8)
|
||||
#define IPP2P_BIT (1 << 9)
|
||||
#define IPP2P_APPLE (1 << 10)
|
||||
#define IPP2P_SOUL (1 << 11)
|
||||
#define IPP2P_WINMX (1 << 12)
|
||||
#define IPP2P_ARES (1 << 13)
|
||||
#define IPP2P_MUTE (1 << 14)
|
||||
#define IPP2P_WASTE (1 << 15)
|
||||
#define IPP2P_XDCC (1 << 16)
|
||||
|
Reference in New Issue
Block a user