#include <stdio.h>#include <stdlib.h>#include <string.h>#include <getopt.h>#include <netdb.h>#include "../include/ebtables_u.h"#include <linux/netfilter_bridge/ebt_ip.h>
Macros | |
| #define | IP_SOURCE '1' |
| #define | IP_DEST '2' |
| #define | IP_myTOS '3' /* include/bits/in.h seems to already define IP_TOS */ |
| #define | IP_PROTO '4' |
| #define | IP_SPORT '5' |
| #define | IP_DPORT '6' |
| #define | OPT_SOURCE 0x01 |
| #define | OPT_DEST 0x02 |
| #define | OPT_TOS 0x04 |
| #define | OPT_PROTO 0x08 |
| #define | OPT_SPORT 0x10 |
| #define | OPT_DPORT 0x20 |
Functions | |
| void | _init (void) |
| #define IP_DEST '2' |
| #define IP_DPORT '6' |
| #define IP_myTOS '3' /* include/bits/in.h seems to already define IP_TOS */ |
| #define IP_PROTO '4' |
| #define IP_SOURCE '1' |
| #define IP_SPORT '5' |
| #define OPT_DEST 0x02 |
| #define OPT_DPORT 0x20 |
| #define OPT_PROTO 0x08 |
| #define OPT_SOURCE 0x01 |
| #define OPT_SPORT 0x10 |
| #define OPT_TOS 0x04 |
| void _init | ( | void | ) |