version 1.1.1.1, 2012/02/21 23:16:02
|
version 1.1.1.2, 2012/05/29 12:55:57
|
Line 9
|
Line 9
|
|
|
#include "config.h" |
#include "config.h" |
#include <netinet/in.h> |
#include <netinet/in.h> |
|
#include <sys/queue.h> |
|
|
/* structure for storing lan addresses | /* structure and list for storing lan addresses |
* with ascii representation and mask */ |
* with ascii representation and mask */ |
struct lan_addr_s { |
struct lan_addr_s { |
char str[16]; /* example: 192.168.0.1 */ |
char str[16]; /* example: 192.168.0.1 */ |
Line 19 struct lan_addr_s {
|
Line 20 struct lan_addr_s {
|
char ext_ip_str[16]; |
char ext_ip_str[16]; |
struct in_addr ext_ip_addr; |
struct in_addr ext_ip_addr; |
#endif |
#endif |
|
LIST_ENTRY(lan_addr_s) list; |
}; |
}; |
|
LIST_HEAD(lan_addr_list, lan_addr_s); |
|
|
#endif |
#endif |