Home
last modified time | relevance | path

Searched defs:Ipv6Addr (Results 1 – 25 of 31) sorted by relevance

12

/external/rust/android-crates-io/crates/prettyplease/examples/
Dinput.rs1te :: sys :: net :: netc as c ; use crate :: sys_common :: { AsInner , FromInner , IntoInner } ; #… in to_ipv4() argument
Doutput.rustc.rs14 pub struct Ipv6Addr { struct
15 inner: c::in6_addr,
131 pub const fn to_ipv6_compatible(&self) -> Ipv6Addr { in to_ipv6_compatible()
139 pub const fn to_ipv6_mapped(&self) -> Ipv6Addr { in to_ipv6_mapped()
262 impl Ipv6Addr { impl
264 h: u16) -> Ipv6Addr { in new()
357 impl fmt::Display for Ipv6Addr { implementation
421 impl fmt::Debug for Ipv6Addr { implementation
426 impl Clone for Ipv6Addr { implementation
427 fn clone(&self) -> Ipv6Addr { *self } in clone()
[all …]
Doutput.prettyplease.rs18 pub struct Ipv6Addr { struct
19 inner: c::in6_addr,
144 pub const fn to_ipv6_compatible(&self) -> Ipv6Addr { in to_ipv6_compatible()
152 pub const fn to_ipv6_mapped(&self) -> Ipv6Addr { in to_ipv6_mapped()
290 impl Ipv6Addr { impl
300 ) -> Ipv6Addr { in new()
416 impl fmt::Display for Ipv6Addr { implementation
488 impl fmt::Debug for Ipv6Addr { implementation
493 impl Clone for Ipv6Addr { implementation
494 fn clone(&self) -> Ipv6Addr { in clone()
[all …]
Doutput.rustfmt.rs18 pub struct Ipv6Addr { struct
19 inner: c::in6_addr,
152 pub const fn to_ipv6_compatible(&self) -> Ipv6Addr { in to_ipv6_compatible()
160 pub const fn to_ipv6_mapped(&self) -> Ipv6Addr { in to_ipv6_mapped()
306 impl Ipv6Addr { impl
307 pub const fn new(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16) -> Ipv6Addr { in new()
421 impl fmt::Display for Ipv6Addr { implementation
447 impl fmt::Debug for Ipv6Addr { implementation
452 impl Clone for Ipv6Addr { implementation
453 fn clone(&self) -> Ipv6Addr { in clone()
[all …]
/external/rust/android-crates-io/crates/rustix/src/maybe_polyfill/no_std/net/
Dip_addr.rs162 pub struct Ipv6Addr { struct
178 /// use std::net::Ipv6Addr; argument
970 pub const fn to_ipv6_compatible(&self) -> Ipv6Addr { in to_ipv6_compatible()
1000 pub const fn to_ipv6_mapped(&self) -> Ipv6Addr { in to_ipv6_mapped()
1186 impl Ipv6Addr { implementation
1206 pub const fn new(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16) -> Ipv6Addr { in new()
1851 impl PartialEq<IpAddr> for Ipv6Addr { implementation
1873 impl PartialOrd for Ipv6Addr { implementation
1892 impl PartialOrd<IpAddr> for Ipv6Addr { implementation
1903 impl Ord for Ipv6Addr { implementation
[all …]
Dsocket_addr.rs396 pub const fn new(ip: Ipv6Addr, port: u16, flowinfo: u32, scope_id: u32) -> SocketAddrV6 { in new()
421 pub const fn ip(&self) -> &Ipv6Addr { in ip()
437 pub fn set_ip(&mut self, new_ip: Ipv6Addr) { in set_ip()
/external/rust/android-crates-io/crates/ipnet/src/
Dipnet.rs1012 pub const fn new(ip: Ipv6Addr, prefix_len: u8) -> Result<Ipv6Net, PrefixLenError> { in new()
1045 pub const fn new_assert(ip: Ipv6Addr, prefix_len: u8) -> Ipv6Net { in new_assert()
1064 pub fn with_netmask(ip: Ipv6Addr, netmask: Ipv6Addr) -> Result<Ipv6Net, PrefixLenError> { in with_netmask()
1088 pub const fn addr(&self) -> Ipv6Addr { in addr()
1115 pub fn netmask(&self) -> Ipv6Addr { in netmask()
1134 pub fn hostmask(&self) -> Ipv6Addr { in hostmask()
1153 pub fn network(&self) -> Ipv6Addr { in network()
1171 pub fn broadcast(&self) -> Ipv6Addr { in broadcast()
1580 pub fn new(start: Ipv6Addr, end: Ipv6Addr, min_prefix_len: u8) -> Self { in new()
1626 fn next_ipv6_subnet(start: Ipv6Addr, end: Ipv6Addr, min_prefix_len: u8) -> Ipv6Net { in next_ipv6_subnet()
Dparser.rs187 fn read_ipv6_addr_impl(&mut self) -> Option<Ipv6Addr> { in read_ipv6_addr_impl()
188 fn ipv6_addr_from_head_tail(head: &[u16], tail: &[u16]) -> Ipv6Addr { in read_ipv6_addr_impl()
256 fn read_ipv6_addr(&mut self) -> Option<Ipv6Addr> { in read_ipv6_addr()
Dipext.rs250 impl IpStep for Ipv6Addr { implementation
396 pub fn new(start: Ipv6Addr, end: Ipv6Addr) -> Self { in new()
/external/rust/android-crates-io/crates/etherparse/src/net/
Dipv6_header_slice.rs154 pub fn source_addr(&self) -> std::net::Ipv6Addr { in source_addr()
172 pub fn destination_addr(&self) -> std::net::Ipv6Addr { in destination_addr()
Dipv6_header.rs295 pub fn source_addr(&self) -> std::net::Ipv6Addr { in source_addr()
303 pub fn destination_addr(&self) -> std::net::Ipv6Addr { in destination_addr()
/external/rust/android-crates-io/crates/url/src/
Dhost.rs198 fn write_ipv6(addr: &Ipv6Addr, f: &mut Formatter<'_>) -> fmt::Result { in write_ipv6()
348 fn parse_ipv6addr(input: &str) -> ParseResult<Ipv6Addr> { in parse_ipv6addr()
/external/rust/android-crates-io/crates/arbitrary/src/foreign/std/
Dnet.rs17 impl<'a> Arbitrary<'a> for Ipv6Addr { implementation
/external/openthread/tests/scripts/thread-cert/pktverify/
Daddrs.py69 class Ipv6Addr(Bytes): class
Dpacket_filter.py576 def filter_AMPLFMA(self, mpl_seed_id: Union[int, Ipv6Addr] = None, **kwargs): argument
611 def filter_icmpv6_nd_ns(self, target_address: Ipv6Addr):
615 def filter_icmpv6_nd_na(self, target_address: Ipv6Addr):
/external/crosvm/third_party/libslirp-rs/src/
Dcontext.rs448 virtual_network_v6_address: Ipv6Addr, in new()
450 host_v6_address: Ipv6Addr, in new()
454 dns_server_v6_addr: Ipv6Addr, in new()
/external/rust/android-crates-io/crates/mio/src/net/
Dudp.rs519 pub fn join_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> { in join_multicast_v6()
541 pub fn leave_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> { in leave_multicast_v6()
/external/rust/android-crates-io/crates/tokio/src/net/
Dudp.rs1952 pub fn join_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> { in join_multicast_v6()
1970 pub fn leave_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> { in leave_multicast_v6()
/external/rust/android-crates-io/crates/rustix/src/backend/libc/net/
Dsockopt.rs580 multiaddr: &Ipv6Addr, in set_ipv6_add_membership()
635 multiaddr: &Ipv6Addr, in set_ipv6_drop_membership()
1178 fn to_ipv6mr(multiaddr: &Ipv6Addr, interface: u32) -> c::ipv6_mreq { in to_ipv6mr()
/external/rust/android-crates-io/crates/rustix/src/backend/linux_raw/net/
Dsockopt.rs538 multiaddr: &Ipv6Addr, in set_ipv6_add_membership()
569 multiaddr: &Ipv6Addr, in set_ipv6_drop_membership()
1008 fn to_ipv6mr(multiaddr: &Ipv6Addr, interface: u32) -> c::ipv6_mreq { in to_ipv6mr()
/external/rust/android-crates-io/crates/rustix/src/net/
Dsockopt.rs851 multiaddr: &Ipv6Addr, in set_ipv6_add_membership()
916 multiaddr: &Ipv6Addr, in set_ipv6_drop_membership()
/external/rust/android-crates-io/crates/hyper/src/client/connect/
Dhttp.rs189 pub fn set_local_addresses(&mut self, addr_ipv4: Ipv4Addr, addr_ipv6: Ipv6Addr) { in set_local_addresses()
569 local_addr_ipv6: &Option<Ipv6Addr>, in bind_local_address()
Ddns.rs217 local_addr_ipv6: Option<Ipv6Addr>, in split_by_preference()
/external/rust/android-crates-io/crates/quickcheck/src/
Darbitrary.rs479 impl Arbitrary for Ipv6Addr { implementation
480 fn arbitrary(g: &mut Gen) -> Ipv6Addr { in arbitrary()
/external/rust/android-crates-io/crates/socket2/src/
Dsocket.rs1753 pub fn join_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> { in join_multicast_v6()
1777 pub fn leave_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> { in leave_multicast_v6()

12