commit | f0959a78a22a7298252c4cb16ee8a06f07148fe0 | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Mon Mar 18 14:46:30 2024 +0900 |
committer | Xiao Ma <xiaom@google.com> | Mon Mar 18 15:12:35 2024 +0900 |
tree | ba808ebb9ed59e0e42283798a69d0efb1d13e64f | |
parent | ced8412a19a6967528a5c76a4891d12096bb7e58 [diff] |
Make PrefixInformationOption struct constructor visible for testing. PrefixInformationOption#build always gives the correct option length and type, visible constructor is easiler to verify the incorrect parameters in the test, for example, we will verify the code that parses the PIO option in RA as a ND user option in netlink message. Bug: 315069348 Test: TH Change-Id: I6b88e6718cb873b15936c1f518d357c36c41ffde