Searched refs:tun_ctx (Results 1 – 4 of 4) sorted by relevance
| /linux/net/netfilter/ |
| H A D | nft_inner.c | 218 struct nft_inner_tun_ctx *tun_ctx) in nft_inner_parse() 223 nft_inner_parse_tunhdr(priv, pkt, tun_ctx, &off) < 0) in nft_inner_parse() 227 if (nft_inner_parse_l2l3(priv, pkt, tun_ctx, off) < 0) in nft_inner_parse() 230 tun_ctx->inner_thoff = off; in nft_inner_parse() 231 tun_ctx->flags |= NFT_PAYLOAD_CTX_INNER_TH; in nft_inner_parse() 234 tun_ctx->type = priv->type; in nft_inner_restore_tun_ctx() 235 tun_ctx->cookie = (unsigned long)pkt->skb; in nft_inner_restore_tun_ctx() argument 242 struct nft_inner_tun_ctx *tun_ctx) in nft_inner_restore_tun_ctx() 254 *tun_ctx = *this_cpu_tun_ctx; in nft_inner_save_tun_ctx() 262 const struct nft_inner_tun_ctx *tun_ctx) 211 nft_inner_parse(const struct nft_inner * priv,struct nft_pktinfo * pkt,struct nft_inner_tun_ctx * tun_ctx) nft_inner_parse() argument 252 nft_inner_save_tun_ctx(const struct nft_pktinfo * pkt,const struct nft_inner_tun_ctx * tun_ctx) nft_inner_save_tun_ctx() argument 265 nft_inner_parse_needed(const struct nft_inner * priv,const struct nft_pktinfo * pkt,struct nft_inner_tun_ctx * tun_ctx) nft_inner_parse_needed() argument 283 struct nft_inner_tun_ctx tun_ctx = {}; nft_inner_eval() local [all...] |
| H A D | nft_meta.c | 863 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()
|
| /linux/include/net/netfilter/ |
| H A D | nft_meta.h | 52 struct nft_inner_tun_ctx *tun_ctx);
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | mad.c | 518 struct mlx4_ib_demux_pv_ctx *tun_ctx; in mlx4_ib_send_to_slave() local 536 tun_ctx = dev->sriov.demux[port-1].tun[slave]; in mlx4_ib_send_to_slave() 539 if (!tun_ctx || tun_ctx->state != DEMUX_PV_STATE_ACTIVE) in mlx4_ib_send_to_slave() 543 tun_qp = &tun_ctx->qp[0]; in mlx4_ib_send_to_slave() 545 tun_qp = &tun_ctx->qp[1]; in mlx4_ib_send_to_slave() 588 ah = rdma_create_ah(tun_ctx->pd, &attr, 0); in mlx4_ib_send_to_slave() 656 list.lkey = tun_ctx->pd->local_dma_lkey; in mlx4_ib_send_to_slave()
|