MCPcopy Create free account
hub / github.com/F-Stack/f-stack / acl_include

Function acl_include

dpdk/lib/acl/acl_bld.c:219–226  ·  view source on GitHub ↗

* Include src bitset in dst bitset */

Source from the content-addressed store, hash-verified

217 * Include src bitset in dst bitset
218 */
219static void
220acl_include(struct rte_acl_bitset *dst, struct rte_acl_bitset *src, bits_t mask)
221{
222 uint32_t n;
223
224 for (n = 0; n < RTE_ACL_BIT_SET_SIZE; n++)
225 dst->bits[n] = (dst->bits[n] & mask) | src->bits[n];
226}
227
228/*
229 * Set dst to bits of src1 that are not in src2

Callers 3

acl_add_ptrFunction · 0.85
acl_dup_nodeFunction · 0.85
acl_compact_node_ptrsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected