Home
last modified time | relevance | path

Searched refs:tun_ctx (Results 1 – 3 of 3) sorted by relevance

/net/netfilter/
A Dnft_inner.c218 struct nft_inner_tun_ctx *tun_ctx) in nft_inner_parse() argument
230 tun_ctx->inner_thoff = off; in nft_inner_parse()
234 tun_ctx->type = priv->type; in nft_inner_parse()
235 tun_ctx->cookie = (unsigned long)pkt->skb; in nft_inner_parse()
242 struct nft_inner_tun_ctx *tun_ctx) in nft_inner_restore_tun_ctx() argument
254 *tun_ctx = *this_cpu_tun_ctx; in nft_inner_restore_tun_ctx()
270 *this_cpu_tun_ctx = *tun_ctx; in nft_inner_save_tun_ctx()
277 struct nft_inner_tun_ctx *tun_ctx) in nft_inner_parse_needed() argument
285 if (priv->type != tun_ctx->type) in nft_inner_parse_needed()
295 struct nft_inner_tun_ctx tun_ctx = {}; in nft_inner_eval() local
[all …]
A Dnft_payload.c597 struct nft_inner_tun_ctx *tun_ctx) in nft_payload_inner_eval() argument
609 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_TUN)) in nft_payload_inner_eval()
612 offset = tun_ctx->inner_tunoff; in nft_payload_inner_eval()
615 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_LL)) in nft_payload_inner_eval()
618 offset = tun_ctx->inner_lloff; in nft_payload_inner_eval()
621 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_NH)) in nft_payload_inner_eval()
624 offset = tun_ctx->inner_nhoff; in nft_payload_inner_eval()
627 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_TH)) in nft_payload_inner_eval()
630 offset = tun_ctx->inner_thoff; in nft_payload_inner_eval()
A Dnft_meta.c863 struct nft_inner_tun_ctx *tun_ctx) in nft_meta_inner_eval() argument
870 nft_reg_store16(dest, (__force u16)tun_ctx->llproto); in nft_meta_inner_eval()
873 if (!(tun_ctx->flags & NFT_PAYLOAD_CTX_INNER_TH)) in nft_meta_inner_eval()
876 nft_reg_store8(dest, tun_ctx->l4proto); in nft_meta_inner_eval()

Completed in 12 milliseconds