?? match_ip.h
字號:
#ifndef __MATCH_IP_HEADER_INCLUDED__#define __MATCH_IP_HEADER_INCLUDED__#include <ctype.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <errno.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <firestorm.h>#include <packet.h>#include <alert.h>#include <signature.h>#include <matcher.h>#include <plugin.h>/* ipaddr (src,dst) matching */struct ipaddr_priv { u_int32_t addr; u_int32_t mask;};proc_template template_shortrange;/* ip_src/ip_dst */int ipaddr_compare(void *, void *);proc_match_match ip_src_validate(char *, void **, struct criteria *, u_int32_t *);proc_match_match ip_dst_validate(char *, void **, struct criteria *, u_int32_t *);/* sameip */proc_match_match sip_validate(char *, void **, struct criteria *, u_int32_t *);int sip_compare(void *, void *);/* fragment matching */proc_match_match id_validate(char *, void **, struct criteria *, u_int32_t *);proc_match_match fo_validate(char *, void **, struct criteria *, u_int32_t *);proc_match_match fb_validate(char *, void **, struct criteria *, u_int32_t *);int fb_compare(void *, void *);/* option matching */proc_match_match ipopts_validate(char *, void **, struct criteria *, u_int32_t *);/* proto matching */proc_match_match proto_validate(char *, void **, struct criteria *, u_int32_t *);/* ttl matching */proc_match_match ttl_validate(char *, void **, struct criteria *, u_int32_t *);#endif /* __MATCH_IP_HEADER_INCLUDED__ */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -