Home
last modified time | relevance | path

Searched refs:inet_version (Results 1 – 2 of 2) sorted by relevance

/external/libchromeos-rs/src/
Dnet.rs71 inet_version: InetVersion, field
76 pub fn new(inet_version: InetVersion) -> io::Result<Self> { in new()
79 Into::<sa_family_t>::into(inet_version) as c_int, in new()
87 Ok(TcpSocket { inet_version, fd }) in new()
187 match self.inet_version { in local_port()
/external/crosvm/sys_util/src/
Dnet.rs84 inet_version: InetVersion, field
89 pub fn new(inet_version: InetVersion) -> io::Result<Self> { in new()
92 Into::<sa_family_t>::into(inet_version) as c_int, in new()
100 Ok(TcpSocket { inet_version, fd }) in new()
200 match self.inet_version { in local_port()