2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

classifier: Move in-band set_<field>() functions publicly available.

These will be useful elsewhere later.
This commit is contained in:
Ben Pfaff
2010-10-26 16:41:44 -07:00
parent cf3fad8a1b
commit 64420dfac5
3 changed files with 105 additions and 95 deletions

View File

@@ -81,6 +81,16 @@ void cls_rule_init_catchall(struct cls_rule *, unsigned int priority);
void cls_rule_zero_wildcarded_fields(struct cls_rule *);
void cls_rule_set_in_port(struct cls_rule *, uint16_t odp_port);
void cls_rule_set_dl_type(struct cls_rule *, ovs_be16 dl_type);
void cls_rule_set_dl_src(struct cls_rule *, const uint8_t[6]);
void cls_rule_set_dl_dst(struct cls_rule *, const uint8_t[6]);
void cls_rule_set_tp_src(struct cls_rule *, ovs_be16);
void cls_rule_set_tp_dst(struct cls_rule *, ovs_be16);
void cls_rule_set_nw_proto(struct cls_rule *, uint8_t);
void cls_rule_set_nw_src(struct cls_rule *, ovs_be32);
void cls_rule_set_nw_dst(struct cls_rule *, ovs_be32);
char *cls_rule_to_string(const struct cls_rule *);
void cls_rule_print(const struct cls_rule *);