commit | 73f5b138a2c40460606194f87cd3df72c715d723 | [log] [tgz] |
---|---|---|
author | Chih-Yu Huang <akahuang@google.com> | Thu Sep 05 14:51:31 2024 +0900 |
committer | Chih-Yu Huang <akahuang@google.com> | Fri Sep 20 09:06:19 2024 +0900 |
tree | cbaae01ce505e28b2600ab4a151af81fb93c3ad8 | |
parent | f4a0865055d0130a9514ac1b84cbf518868bf8c3 [diff] |
Add createSetLinkStateMessage method at RtNetlinkLinkMessage This CL mainly adds the createSetLinkStateMessage() method at the RtNetlinkLinkMessage class, that creates a link message to set the interface up or down. The functionality is the same as "ip link set $interface up" or "ip link set $interface down". Bug: 364501824 Test: atest NetworkStaticLibTests Change-Id: Id9232851f6d9a7f99f857fd5b8d4eae506de2c7c