Home
last modified time | relevance | path

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

/linux-4.1.27/net/netfilter/
Dnft_exthdr.c42 dest[priv->len / NFT_REG32_SIZE] = 0; in nft_exthdr_eval()
Dnft_payload.c46 dest[priv->len / NFT_REG32_SIZE] = 0; in nft_payload_eval()
Dnf_tables_api.c4199 return reg * NFT_REG_SIZE / NFT_REG32_SIZE; in nft_parse_register()
4201 return reg + NFT_REG_SIZE / NFT_REG32_SIZE - NFT_REG32_00; in nft_parse_register()
4219 if (reg % (NFT_REG_SIZE / NFT_REG32_SIZE) == 0) in nft_dump_register()
4220 reg = reg / (NFT_REG_SIZE / NFT_REG32_SIZE); in nft_dump_register()
4222 reg = reg - NFT_REG_SIZE / NFT_REG32_SIZE + NFT_REG32_00; in nft_dump_register()
4239 if (reg < NFT_REG_1 * NFT_REG_SIZE / NFT_REG32_SIZE) in nft_validate_register_load()
4243 if (reg * NFT_REG32_SIZE + len > FIELD_SIZEOF(struct nft_regs, data)) in nft_validate_register_load()
4293 if (reg < NFT_REG_1 * NFT_REG_SIZE / NFT_REG32_SIZE) in nft_validate_register_store()
4297 if (reg * NFT_REG32_SIZE + len > in nft_validate_register_store()
/linux-4.1.27/include/uapi/linux/netfilter/
Dnf_tables.h45 #define NFT_REG32_SIZE 4 macro
/linux-4.1.27/include/net/netfilter/
Dnf_tables.h128 return type == NFT_DATA_VERDICT ? NFT_REG_VERDICT : NFT_REG_1 * NFT_REG_SIZE / NFT_REG32_SIZE; in nft_type_to_reg()