Home
last modified time | relevance | path

Searched refs:from_be (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Dread_sockaddr.rs68 Ipv4Addr::from(u32::from_be(decode.sin_addr.s_addr)), in read_sockaddr()
69 u16::from_be(decode.sin_port), in read_sockaddr()
79 u16::from_be(decode.sin6_port), in read_sockaddr()
80 u32::from_be(decode.sin6_flowinfo), in read_sockaddr()
138 Ipv4Addr::from(u32::from_be(decode.sin_addr.s_addr)), in read_sockaddr_os()
139 u16::from_be(decode.sin_port), in read_sockaddr_os()
147 u16::from_be(decode.sin6_port), in read_sockaddr_os()
148 u32::from_be(decode.sin6_flowinfo), in read_sockaddr_os()
/third_party/rust/crates/rustix/src/backend/libc/net/
Dread_sockaddr.rs111 Ipv4Addr::from(u32::from_be(in_addr_s_addr(decode.sin_addr))), in read_sockaddr()
112 u16::from_be(decode.sin_port), in read_sockaddr()
130 u16::from_be(decode.sin6_port), in read_sockaddr()
131 u32::from_be(decode.sin6_flowinfo), in read_sockaddr()
214 Ipv4Addr::from(u32::from_be(in_addr_s_addr(decode.sin_addr))), in inner_read_sockaddr_os()
215 u16::from_be(decode.sin_port), in inner_read_sockaddr_os()
223 u16::from_be(decode.sin6_port), in inner_read_sockaddr_os()
224 u32::from_be(decode.sin6_flowinfo), in inner_read_sockaddr_os()
/third_party/rust/crates/rustix/src/net/
Dip.rs1272 u16::from_be(a),
1273 u16::from_be(b),
1274 u16::from_be(c),
1275 u16::from_be(d),
1276 u16::from_be(e),
1277 u16::from_be(f),
1278 u16::from_be(g),
1279 u16::from_be(h),
/third_party/rust/crates/num-traits/src/
Dint.rs290 fn from_be(x: Self) -> Self; in from_be() method
471 fn from_be(x: Self) -> Self {
472 <$T>::from_be(x)
/third_party/rust/crates/nix/src/sys/socket/
Daddr.rs526 InetAddr::V6(ref sa) => u16::from_be(sa.sin6_port),
527 InetAddr::V4(ref sa) => u16::from_be(sa.sin_port),
663 let bits = u32::from_be(self.0.s_addr);
1251 u32::from_be(self.0.sin_addr.s_addr) in ip()
1279 u16::from_be(self.0.sin_port) in port()
1316 let ne = u32::from_be(self.0.sin_addr.s_addr); in fmt()
1317 let port = u16::from_be(self.0.sin_port); in fmt()
1358 u16::from_be(addr.0.sin_port), in from()
1393 u16::from_be(self.0.sin6_port) in port()
1478 u16::from_be(addr.0.sin6_port), in from()
/third_party/rust/crates/nix/test/sys/
Dtest_socket.rs2438 u32::from_be(0x7f000001) in test_recverr_v4()