commit | 80dbd06f649eae9d7be036d74d7571533d9f9e54 | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Thu Jul 27 14:51:53 2023 +0900 |
committer | Xiao Ma <xiaom@google.com> | Thu Jul 27 15:17:24 2023 +0900 |
tree | 4545d9af35efedc3be307fe0f9f6ca2c1ade753d | |
parent | 4838904eb3fd2b09f760267f2d6050cd37b6450c [diff] |
Add Ipv6PktInfo (in6_pktinfo) struct. in6_pktinfo structure specifies the source IPv6 address and interface for an outgoing packet(used with UDP or RAW socket), we can specify the IPV6_PKTINFO ancillary data on sendmsg() with this structure to set the source address (e.g. a global IPv6 address). Bug: 293393743 Test: TH Change-Id: I2bd8ea6fcdb7398db9b3a54243c81ca27e832e45