Searched refs:std_sa (Results 1 – 2 of 2) sorted by relevance
101 let std_sa = SocketAddrV4::from_str("127.0.0.1:4001").unwrap(); in test_so_tcp_maxseg() localVariable102 let sock_addr = SockaddrIn::from(std_sa); in test_so_tcp_maxseg()274 let std_sa = SocketAddrV4::from_str("127.0.0.1:4001").unwrap(); in test_get_mtu() localVariable286 bind(usock, &SockaddrIn::from(std_sa)).unwrap(); in test_get_mtu()
305 let std_sa = SocketAddrV4::from_str("127.0.0.1:6789").unwrap(); in test_std_conversions() localVariable306 let sock_addr = SockaddrIn::from(std_sa); in test_std_conversions()307 assert_eq!(std_sa, sock_addr.into()); in test_std_conversions()309 let std_sa = SocketAddrV6::from_str("[::1]:6000").unwrap(); in test_std_conversions() localVariable310 let sock_addr: SockaddrIn6 = SockaddrIn6::from(std_sa); in test_std_conversions()311 assert_eq!(std_sa, sock_addr.into()); in test_std_conversions()369 let std_sa = SocketAddrV4::from_str("127.0.0.1:6789").unwrap(); in udp() localVariable370 let sock_addr = SockaddrIn::from(std_sa); in udp()495 let std_sa = SocketAddrV4::from_str("127.0.0.1:6793").unwrap(); in udp_sendmmsg() localVariable497 let sock_addr = SockaddrIn::from(std_sa); in udp_sendmmsg()[all …]