Skip to content

Commit

Permalink
Support u32 acl (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanG100 authored Nov 7, 2024
1 parent 7ad7adc commit 52ed0d0
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dataplane/apigen/typeinfo/typeinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,13 @@ var typeToUnionAccessor = map[string]*unionAccessor{
protoAccessor: "uint",
aType: acl,
},
"sai_acl_field_data_t sai_uint32_t": {
accessor: "u32",
convertFromFunc: "convert_from_acl_field_data",
convertToFunc: "convert_to_acl_field_data_u32",
protoAccessor: "uint",
aType: acl,
},
"sai_acl_field_data_t sai_ip6_t": {
accessor: "ip6",
convertFromFunc: "convert_from_acl_field_data_ip6",
Expand Down
Loading

0 comments on commit 52ed0d0

Please sign in to comment.