H A D | vcap_api.c | 218 static bool vcap_verify_keystream_keyset(struct vcap_control *vctrl, in vcap_verify_keystream_keyset() argument 224 const struct vcap_info *vcap = &vctrl->vcaps[vt]; in vcap_verify_keystream_keyset() 233 if (vcap_keyfield_count(vctrl, vt, keyset) == 0) in vcap_verify_keystream_keyset() 236 info = vcap_keyfieldset(vctrl, vt, keyset); in vcap_verify_keystream_keyset() 246 tgt = vcap_keyfield_typegroup(vctrl, vt, keyset); in vcap_verify_keystream_keyset() 250 fields = vcap_keyfields(vctrl, vt, keyset); in vcap_verify_keystream_keyset() 308 static int vcap_find_keystream_typegroup_sw(struct vcap_control *vctrl, in vcap_find_keystream_typegroup_sw() argument 315 tgt = vctrl->vcaps[vt].keyfield_set_typegroups; in vcap_find_keystream_typegroup_sw() 317 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_keystream_typegroup_sw() 321 res = vcap_verify_typegroups(stream, vctrl in vcap_find_keystream_typegroup_sw() 333 vcap_find_keystream_keysets(struct vcap_control *vctrl, enum vcap_type vt, u32 *keystream, u32 *mskstream, bool mask, int sw_max, struct vcap_keyset_list *kslist) vcap_find_keystream_keysets() argument 366 vcap_addr_keysets(struct vcap_control *vctrl, struct net_device *ndev, struct vcap_admin *admin, int addr, struct vcap_keyset_list *kslist) vcap_addr_keysets() argument 396 vcap_keyfields(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_keyfield_set keyset) vcap_keyfields() argument 407 vcap_keyfieldset(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_keyfield_set keyset) vcap_keyfieldset() argument 425 vcap_keyfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_keyfield_set keyset) vcap_keyfield_typegroup() argument 437 vcap_keyfield_count(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_keyfield_set keyset) vcap_keyfield_count() argument 499 vcap_encode_keyfield_typegroups(struct vcap_control *vctrl, struct vcap_rule_internal *ri, const struct vcap_typegroup *tgt) vcap_encode_keyfield_typegroups() argument 691 vcap_actionfields(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) vcap_actionfields() argument 701 vcap_actionfieldset(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) vcap_actionfieldset() argument 717 vcap_actionfield_typegroup(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) vcap_actionfield_typegroup() argument 729 vcap_actionfield_count(struct vcap_control *vctrl, enum vcap_type vt, enum vcap_actionfield_set actionset) vcap_actionfield_count() argument 924 vcap_rule_exists(struct vcap_control *vctrl, u32 id) vcap_rule_exists() argument 939 vcap_get_locked_rule(struct vcap_control *vctrl, u32 id) vcap_get_locked_rule() argument 956 vcap_lookup_rule_by_cookie(struct vcap_control *vctrl, u64 cookie) vcap_lookup_rule_by_cookie() argument 1326 vcap_verify_actionstream_actionset(struct vcap_control *vctrl, enum vcap_type vt, u32 *actionstream, enum vcap_actionfield_set actionset) vcap_verify_actionstream_actionset() argument 1362 vcap_find_actionstream_typegroup_sw(struct vcap_control *vctrl, enum vcap_type vt, u32 *stream, int sw_max) vcap_find_actionstream_typegroup_sw() argument 1386 vcap_find_actionstream_actionset(struct vcap_control *vctrl, enum vcap_type vt, u32 *stream, int sw_max) vcap_find_actionstream_actionset() argument 1433 struct vcap_control *vctrl = ri->vctrl; vcap_decode_actionset() local 1476 struct vcap_control *vctrl = ri->vctrl; vcap_decode_keyset() local 1622 vcap_find_admin(struct vcap_control *vctrl, int cid) vcap_find_admin() argument 1638 vcap_admin_is_last(struct vcap_control *vctrl, struct vcap_admin *admin, bool ingress) vcap_admin_is_last() argument 1659 vcap_chain_offset(struct vcap_control *vctrl, int from_cid, int to_cid) vcap_chain_offset() argument 1677 vcap_is_next_lookup(struct vcap_control *vctrl, int src_cid, int dst_cid) vcap_is_next_lookup() argument 1810 vcap_keyset_name(struct vcap_control *vctrl, enum vcap_keyfield_set keyset) vcap_keyset_name() argument 1818 vcap_keyfield_name(struct vcap_control *vctrl, enum vcap_key_field key) vcap_keyfield_name() argument 1826 vcap_actionset_name(struct vcap_control *vctrl, enum vcap_actionfield_set actionset) vcap_actionset_name() argument 1833 vcap_actionfield_name(struct vcap_control *vctrl, enum vcap_action_field action) vcap_actionfield_name() argument 1841 vcap_find_keyset_keyfield(struct vcap_control *vctrl, enum vcap_type vtype, enum vcap_keyfield_set keyset, enum vcap_key_field key) vcap_find_keyset_keyfield() argument 1919 vcap_find_actionset_actionfield(struct vcap_control *vctrl, enum vcap_type vtype, enum vcap_actionfield_set actionset, enum vcap_action_field action) vcap_find_actionset_actionfield() argument 2174 vcap_is_chain_used(struct vcap_control *vctrl, struct net_device *ndev, int src_cid) vcap_is_chain_used() argument 2189 vcap_get_next_chain(struct vcap_control *vctrl, struct net_device *ndev, int dst_cid) vcap_get_next_chain() argument 2208 vcap_path_exist(struct vcap_control *vctrl, struct net_device *ndev, int dst_cid) vcap_path_exist() argument 2311 vcap_alloc_rule(struct vcap_control *vctrl, struct net_device *ndev, int vcap_chain_id, enum vcap_user user, u16 priority, u32 id) vcap_alloc_rule() argument 2434 vcap_get_rule(struct vcap_control *vctrl, u32 id) vcap_get_rule() argument 2537 vcap_del_rule(struct vcap_control *vctrl, struct net_device *ndev, u32 id) vcap_del_rule() argument 2579 vcap_del_rules(struct vcap_control *vctrl, struct vcap_admin *admin) vcap_del_rules() argument 2994 vcap_enable_rules(struct vcap_control *vctrl, struct net_device *ndev, int chain) vcap_enable_rules() argument 3053 vcap_disable_rules(struct vcap_control *vctrl, struct net_device *ndev, int chain) vcap_disable_rules() argument 3088 vcap_is_enabled(struct vcap_control *vctrl, struct net_device *ndev, int dst_cid) vcap_is_enabled() argument 3103 vcap_enable(struct vcap_control *vctrl, struct net_device *ndev, unsigned long cookie, int src_cid, int dst_cid) vcap_enable() argument 3143 vcap_disable(struct vcap_control *vctrl, struct net_device *ndev, unsigned long cookie) vcap_disable() argument 3184 vcap_enable_lookups(struct vcap_control *vctrl, struct net_device *ndev, int src_cid, int dst_cid, unsigned long cookie, bool enable) vcap_enable_lookups() argument 3218 vcap_is_last_chain(struct vcap_control *vctrl, int cid, bool ingress) vcap_is_last_chain() argument 3311 struct vcap_control *vctrl = ri->vctrl; vcap_rule_get_untyped_keyset() local 3331 struct vcap_control *vctrl = ri->vctrl; vcap_rule_get_keysets() local 3372 vcap_get_rule_count_by_cookie(struct vcap_control *vctrl, struct vcap_counter *ctr, u64 cookie) vcap_get_rule_count_by_cookie() argument 3532 vcap_select_min_rule_keyset(struct vcap_control *vctrl, enum vcap_type vtype, struct vcap_keyset_list *kslist) vcap_select_min_rule_keyset() argument [all...] |