Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/
H A Dnft_flow_offload.c87 u8 num_encaps; member
122 if (info->num_encaps >= NF_FLOW_TABLE_ENCAP_MAX) { in nft_dev_path_info()
128 info->encap[info->num_encaps].id = path->encap.id; in nft_dev_path_info()
129 info->encap[info->num_encaps].proto = path->encap.proto; in nft_dev_path_info()
130 info->num_encaps++; in nft_dev_path_info()
140 info->ingress_vlans |= BIT(info->num_encaps - 1); in nft_dev_path_info()
143 info->encap[info->num_encaps].id = path->bridge.vlan_id; in nft_dev_path_info()
145 info->num_encaps++; in nft_dev_path_info()
148 info->num_encaps--; in nft_dev_path_info()
205 for (i = 0; i < info.num_encaps; i++) { in nft_dev_forward_path()
[all …]
H A Dnf_flow_table_core.c118 for (i = route->tuple[dir].in.num_encaps - 1; i >= 0; i--) { in flow_offload_fill_route()
125 flow_tuple->encap_num = route->tuple[dir].in.num_encaps; in flow_offload_fill_route()
/openbmc/linux/include/net/netfilter/
H A Dnf_flow_table.h207 u8 num_encaps:2, member