#include <stdio.h>
#include <getopt.h>
#include <arptables.h>
#include <linux/netfilter/xt_CLASSIFY.h>
Macros | |
#define | TC_H_MAJ_MASK (0xFFFF0000U) |
#define | TC_H_MIN_MASK (0x0000FFFFU) |
#define | TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) |
#define | TC_H_MIN(h) ((h)&TC_H_MIN_MASK) |
#define | TC_H_MAKE(maj, min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) |
#define | CLASSIFY_OPT 1 |
#define CLASSIFY_OPT 1 |
#define TC_H_MAJ | ( | h | ) | ((h)&TC_H_MAJ_MASK) |
Referenced by rtnl_tc_handle2str(), and rtnl_tc_str2handle().
#define TC_H_MAJ_MASK (0xFFFF0000U) |
#define TC_H_MAKE | ( | maj, | |
min | |||
) | (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK)) |
#define TC_H_MIN | ( | h | ) | ((h)&TC_H_MIN_MASK) |
Referenced by rtnl_tc_handle2str().
#define TC_H_MIN_MASK (0x0000FFFFU) |