mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
classifier: Change cls_rule_set_nd_target() to take a pointer.
The other cls_rule_*() functions that take IPv6 addresses take a pointer to an in6_addr, so cls_rule_set_nd_target() should as well for consistency. Possibly this is more efficient also, although I guess it doesn't really make much of a difference either way.
This commit is contained in:
@@ -115,7 +115,7 @@ bool cls_rule_set_ipv6_src_masked(struct cls_rule *, const struct in6_addr *,
|
||||
void cls_rule_set_ipv6_dst(struct cls_rule *, const struct in6_addr *);
|
||||
bool cls_rule_set_ipv6_dst_masked(struct cls_rule *, const struct in6_addr *,
|
||||
const struct in6_addr *);
|
||||
void cls_rule_set_nd_target(struct cls_rule *, const struct in6_addr);
|
||||
void cls_rule_set_nd_target(struct cls_rule *, const struct in6_addr *);
|
||||
|
||||
bool cls_rule_equal(const struct cls_rule *, const struct cls_rule *);
|
||||
uint32_t cls_rule_hash(const struct cls_rule *, uint32_t basis);
|
||||
|
Reference in New Issue
Block a user