npc_key_field
struct npc_key_field tx_key_fields[NPC_KEY_FIELDS_MAX];
struct npc_key_field rx_key_fields[NPC_KEY_FIELDS_MAX];
struct npc_key_field *field;
struct npc_key_field *input;
static bool npc_is_same(struct npc_key_field *input,
struct npc_key_field *field)
struct npc_key_field *input = &mcam->rx_key_fields[type];
static bool npc_check_overlap_fields(struct npc_key_field *input1,
struct npc_key_field *input2)
struct npc_key_field *dummy, *input;
memset(dummy, 0, sizeof(struct npc_key_field));
struct npc_key_field *key_fields;
struct npc_key_field *etype_ether;
struct npc_key_field *etype_tag1;
struct npc_key_field *etype_tag2;
struct npc_key_field *vlan_tag1;
struct npc_key_field *vlan_tag2;
struct npc_key_field *vlan_tag3;
struct npc_key_field *field;
struct npc_key_field *field = &mcam->rx_key_fields[type];