Home
last modified time | relevance | path

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

/linux-4.4.14/net/netfilter/
Dnft_exthdr.c42 dest[priv->len / NFT_REG32_SIZE] = 0; in nft_exthdr_eval()
Dnft_payload.c77 dest[priv->len / NFT_REG32_SIZE] = 0; in nft_payload_eval()
Dnf_tables_api.c4268 return reg * NFT_REG_SIZE / NFT_REG32_SIZE; in nft_parse_register()
4270 return reg + NFT_REG_SIZE / NFT_REG32_SIZE - NFT_REG32_00; in nft_parse_register()
4288 if (reg % (NFT_REG_SIZE / NFT_REG32_SIZE) == 0) in nft_dump_register()
4289 reg = reg / (NFT_REG_SIZE / NFT_REG32_SIZE); in nft_dump_register()
4291 reg = reg - NFT_REG_SIZE / NFT_REG32_SIZE + NFT_REG32_00; in nft_dump_register()
4308 if (reg < NFT_REG_1 * NFT_REG_SIZE / NFT_REG32_SIZE) in nft_validate_register_load()
4312 if (reg * NFT_REG32_SIZE + len > FIELD_SIZEOF(struct nft_regs, data)) in nft_validate_register_load()
4362 if (reg < NFT_REG_1 * NFT_REG_SIZE / NFT_REG32_SIZE) in nft_validate_register_store()
4366 if (reg * NFT_REG32_SIZE + len > in nft_validate_register_store()
/linux-4.4.14/include/uapi/linux/netfilter/
Dnf_tables.h45 #define NFT_REG32_SIZE 4 macro
/linux-4.4.14/include/net/netfilter/
Dnf_tables.h129 return type == NFT_DATA_VERDICT ? NFT_REG_VERDICT : NFT_REG_1 * NFT_REG_SIZE / NFT_REG32_SIZE; in nft_type_to_reg()