Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c1415 static void nfp_nft_ct_translate_mangle_action(struct flow_action_entry *mangle_action) in nfp_nft_ct_translate_mangle_action() argument
1417 if (mangle_action->id != FLOW_ACTION_MANGLE) in nfp_nft_ct_translate_mangle_action()
1420 switch (mangle_action->mangle.htype) { in nfp_nft_ct_translate_mangle_action()
1423 mangle_action->mangle.val = (__force u32)cpu_to_be32(mangle_action->mangle.val); in nfp_nft_ct_translate_mangle_action()
1424 mangle_action->mangle.mask = (__force u32)cpu_to_be32(mangle_action->mangle.mask); in nfp_nft_ct_translate_mangle_action()
1434 if (mangle_action->mangle.offset == offsetof(struct tcphdr, source)) { in nfp_nft_ct_translate_mangle_action()
1435 mangle_action->mangle.val = in nfp_nft_ct_translate_mangle_action()
1436 (__force u32)cpu_to_be32(mangle_action->mangle.val << 16); in nfp_nft_ct_translate_mangle_action()
1441 mangle_action->mangle.mask = in nfp_nft_ct_translate_mangle_action()
1442 (__force u32)cpu_to_be32(mangle_action->mangle.mask << 16 | 0xFFFF); in nfp_nft_ct_translate_mangle_action()
[all …]