netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
libxt_TOS.c File Reference
#include <getopt.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
#include <xtables.h>
#include <linux/netfilter/xt_DSCP.h>
#include "tos_values.c"
Include dependency graph for libxt_TOS.c:

Data Structures

struct  ipt_tos_target_info
 

Enumerations

enum  {
  O_SET_TOS = 0,
  O_AND_TOS,
  O_OR_TOS,
  O_XOR_TOS,
  F_SET_TOS = 1 << O_SET_TOS,
  F_AND_TOS = 1 << O_AND_TOS,
  F_OR_TOS = 1 << O_OR_TOS,
  F_XOR_TOS = 1 << O_XOR_TOS,
  F_ANY = F_SET_TOS | F_AND_TOS | F_OR_TOS | F_XOR_TOS
}
 

Functions

void _init (void)
 

Enumeration Type Documentation

anonymous enum
Enumerator
O_SET_TOS 
O_AND_TOS 
O_OR_TOS 
O_XOR_TOS 
F_SET_TOS 
F_AND_TOS 
F_OR_TOS 
F_XOR_TOS 
F_ANY 

Function Documentation

void _init ( void  )

References ARRAY_SIZE, and xtables_register_targets().

Here is the call graph for this function: