Searched refs:inet_version (Results 1 – 2 of 2) sorted by relevance
71 inet_version: InetVersion, field76 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()
84 inet_version: InetVersion, field89 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()