FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
tunnel_dp.h File Reference
+ Include dependency graph for tunnel_dp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static_always_inline void tunnel_encap_fixup_4o4 (tunnel_encap_decap_flags_t flags, const ip4_header_t *inner, ip4_header_t *outer)
 
static_always_inline void tunnel_encap_fixup_4o4_w_chksum (tunnel_encap_decap_flags_t flags, const ip4_header_t *inner, ip4_header_t *outer)
 
static_always_inline void tunnel_encap_fixup_mplso4_w_chksum (tunnel_encap_decap_flags_t flags, const mpls_unicast_header_t *inner, ip4_header_t *outer)
 
static_always_inline void tunnel_encap_fixup_6o4 (tunnel_encap_decap_flags_t flags, const ip6_header_t *inner, ip4_header_t *outer)
 
static_always_inline void tunnel_encap_fixup_6o4_w_chksum (tunnel_encap_decap_flags_t flags, const ip6_header_t *inner, ip4_header_t *outer)
 
static_always_inline void tunnel_encap_fixup_6o6 (tunnel_encap_decap_flags_t flags, const ip6_header_t *inner, ip6_header_t *outer)
 
static_always_inline void tunnel_encap_fixup_4o6 (tunnel_encap_decap_flags_t flags, const vlib_buffer_t *b, const ip4_header_t *inner, ip6_header_t *outer)
 
static_always_inline void tunnel_encap_fixup_mplso6 (tunnel_encap_decap_flags_t flags, const vlib_buffer_t *b, const mpls_unicast_header_t *inner, ip6_header_t *outer)
 
static_always_inline void tunnel_encap_fixup_mplso4 (tunnel_encap_decap_flags_t flags, const mpls_unicast_header_t *inner, ip4_header_t *outer)
 
static_always_inline void tunnel_decap_fixup_4o6 (tunnel_encap_decap_flags_t flags, ip4_header_t *inner, const ip6_header_t *outer)
 
static_always_inline void tunnel_decap_fixup_6o6 (tunnel_encap_decap_flags_t flags, ip6_header_t *inner, const ip6_header_t *outer)
 
static_always_inline void tunnel_decap_fixup_6o4 (tunnel_encap_decap_flags_t flags, ip6_header_t *inner, const ip4_header_t *outer)
 
static_always_inline void tunnel_decap_fixup_4o4 (tunnel_encap_decap_flags_t flags, ip4_header_t *inner, const ip4_header_t *outer)
 
static_always_inline void tunnel_decap_fixup_mplso6 (tunnel_encap_decap_flags_t flags, mpls_unicast_header_t *inner, const ip6_header_t *outer)
 
static_always_inline void tunnel_decap_fixup_mplso4 (tunnel_encap_decap_flags_t flags, mpls_unicast_header_t *inner, const ip4_header_t *outer)
 

Function Documentation

◆ tunnel_decap_fixup_4o4()

static_always_inline void tunnel_decap_fixup_4o4 ( tunnel_encap_decap_flags_t  flags,
ip4_header_t inner,
const ip4_header_t outer 
)

Definition at line 212 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_decap_fixup_4o6()

static_always_inline void tunnel_decap_fixup_4o6 ( tunnel_encap_decap_flags_t  flags,
ip4_header_t inner,
const ip6_header_t outer 
)

Definition at line 188 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_decap_fixup_6o4()

static_always_inline void tunnel_decap_fixup_6o4 ( tunnel_encap_decap_flags_t  flags,
ip6_header_t inner,
const ip4_header_t outer 
)

Definition at line 204 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_decap_fixup_6o6()

static_always_inline void tunnel_decap_fixup_6o6 ( tunnel_encap_decap_flags_t  flags,
ip6_header_t inner,
const ip6_header_t outer 
)

Definition at line 196 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_decap_fixup_mplso4()

static_always_inline void tunnel_decap_fixup_mplso4 ( tunnel_encap_decap_flags_t  flags,
mpls_unicast_header_t inner,
const ip4_header_t outer 
)

Definition at line 227 of file tunnel_dp.h.

+ Here is the caller graph for this function:

◆ tunnel_decap_fixup_mplso6()

static_always_inline void tunnel_decap_fixup_mplso6 ( tunnel_encap_decap_flags_t  flags,
mpls_unicast_header_t inner,
const ip6_header_t outer 
)

Definition at line 220 of file tunnel_dp.h.

+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_4o4()

static_always_inline void tunnel_encap_fixup_4o4 ( tunnel_encap_decap_flags_t  flags,
const ip4_header_t inner,
ip4_header_t outer 
)

Definition at line 25 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_4o4_w_chksum()

static_always_inline void tunnel_encap_fixup_4o4_w_chksum ( tunnel_encap_decap_flags_t  flags,
const ip4_header_t inner,
ip4_header_t outer 
)

Definition at line 40 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_4o6()

static_always_inline void tunnel_encap_fixup_4o6 ( tunnel_encap_decap_flags_t  flags,
const vlib_buffer_t b,
const ip4_header_t inner,
ip6_header_t outer 
)

Definition at line 145 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_6o4()

static_always_inline void tunnel_encap_fixup_6o4 ( tunnel_encap_decap_flags_t  flags,
const ip6_header_t inner,
ip4_header_t outer 
)

Definition at line 95 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_6o4_w_chksum()

static_always_inline void tunnel_encap_fixup_6o4_w_chksum ( tunnel_encap_decap_flags_t  flags,
const ip6_header_t inner,
ip4_header_t outer 
)

Definition at line 107 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_6o6()

static_always_inline void tunnel_encap_fixup_6o6 ( tunnel_encap_decap_flags_t  flags,
const ip6_header_t inner,
ip6_header_t outer 
)

Definition at line 129 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_mplso4()

static_always_inline void tunnel_encap_fixup_mplso4 ( tunnel_encap_decap_flags_t  flags,
const mpls_unicast_header_t inner,
ip4_header_t outer 
)

Definition at line 179 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_mplso4_w_chksum()

static_always_inline void tunnel_encap_fixup_mplso4_w_chksum ( tunnel_encap_decap_flags_t  flags,
const mpls_unicast_header_t inner,
ip4_header_t outer 
)

Definition at line 75 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tunnel_encap_fixup_mplso6()

static_always_inline void tunnel_encap_fixup_mplso6 ( tunnel_encap_decap_flags_t  flags,
const vlib_buffer_t b,
const mpls_unicast_header_t inner,
ip6_header_t outer 
)

Definition at line 163 of file tunnel_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: