You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
344 B
19 lines
344 B
#ifndef F2B_IPADDR_H_ |
|
#define F2B_IPADDR_H_ |
|
|
|
#include <arpa/inet.h> |
|
|
|
#include "matches.h" |
|
|
|
typedef struct { |
|
struct f2b_ipaddr_t *next; |
|
char text[40]; /* 8 x "ffff" + 7 x ":" + '\0' */ |
|
int addr_type; |
|
union { |
|
struct in_addr v4; |
|
struct in6_addr v6; |
|
} binary; |
|
f2b_matches_t matches; |
|
} f2b_ipaddr_t; |
|
|
|
#endif /* F2B_IPADDR_H_ */
|
|
|