netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
exthdr.h File Reference
#include <proto.h>
Include dependency graph for exthdr.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  exthdr_desc
 

: extension header name

struct exthdr_desc - extension header description

: extension header protocol value : header field templates

enum  hbh_hdr_fields {
  HBHHDR_INVALID,
  HBHHDR_NEXTHDR,
  HBHHDR_HDRLENGTH
}
 
enum  rt_hdr_fields {
  RTHDR_INVALID,
  RTHDR_NEXTHDR,
  RTHDR_HDRLENGTH,
  RTHDR_TYPE,
  RTHDR_SEG_LEFT
}
 
enum  rt0_hdr_fields {
  RT0HDR_INVALID,
  RT0HDR_RESERVED,
  RT0HDR_ADDR_1
}
 
enum  rt2_hdr_fields {
  RT2HDR_INVALID,
  RT2HDR_RESERVED,
  RT2HDR_ADDR
}
 
enum  frag_hdr_fields {
  FRAGHDR_INVALID,
  FRAGHDR_NEXTHDR,
  FRAGHDR_RESERVED,
  FRAGHDR_FRAG_OFF,
  FRAGHDR_RESERVED2,
  FRAGHDR_MFRAGS,
  FRAGHDR_ID
}
 
enum  dst_hdr_fields {
  DSTHDR_INVALID,
  DSTHDR_NEXTHDR,
  DSTHDR_HDRLENGTH
}
 
enum  mh_hdr_fields {
  MHHDR_INVALID,
  MHHDR_NEXTHDR,
  MHHDR_HDRLENGTH,
  MHHDR_TYPE,
  MHHDR_RESERVED,
  MHHDR_CHECKSUM
}
 
const struct exthdr_desc exthdr_hbh
 
const struct exthdr_desc exthdr_rt
 
const struct exthdr_desc exthdr_rt0
 
const struct exthdr_desc exthdr_rt2
 
const struct exthdr_desc exthdr_frag
 
const struct exthdr_desc exthdr_dst
 
const struct exthdr_desc exthdr_mh
 
struct exprexthdr_expr_alloc (const struct location *loc, const struct exthdr_desc *desc, uint8_t type)
 
void exthdr_init_raw (struct expr *expr, uint8_t type, unsigned int offset, unsigned int len)
 

Enumeration Type Documentation

Enumerator
DSTHDR_INVALID 
DSTHDR_NEXTHDR 
DSTHDR_HDRLENGTH 
Enumerator
FRAGHDR_INVALID 
FRAGHDR_NEXTHDR 
FRAGHDR_RESERVED 
FRAGHDR_FRAG_OFF 
FRAGHDR_RESERVED2 
FRAGHDR_MFRAGS 
FRAGHDR_ID 
Enumerator
HBHHDR_INVALID 
HBHHDR_NEXTHDR 
HBHHDR_HDRLENGTH 
Enumerator
MHHDR_INVALID 
MHHDR_NEXTHDR 
MHHDR_HDRLENGTH 
MHHDR_TYPE 
MHHDR_RESERVED 
MHHDR_CHECKSUM 
Enumerator
RT0HDR_INVALID 
RT0HDR_RESERVED 
RT0HDR_ADDR_1 
Enumerator
RT2HDR_INVALID 
RT2HDR_RESERVED 
RT2HDR_ADDR 
Enumerator
RTHDR_INVALID 
RTHDR_NEXTHDR 
RTHDR_HDRLENGTH 
RTHDR_TYPE 
RTHDR_SEG_LEFT 

Function Documentation

struct expr* exthdr_expr_alloc ( const struct location loc,
const struct exthdr_desc desc,
uint8_t  type 
)

Variable Documentation

const struct exthdr_desc exthdr_dst
const struct exthdr_desc exthdr_frag
const struct exthdr_desc exthdr_hbh
const struct exthdr_desc exthdr_mh
const struct exthdr_desc exthdr_rt
const struct exthdr_desc exthdr_rt0
const struct exthdr_desc exthdr_rt2