Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 36) sorted by relevance

12

/smoltcp-0.9.1/src/wire/
Dpretty_print.rs57 pub fn new(prefix: &'static str) -> PrettyIndent { in new() method
102 pub fn new(prefix: &'static str, buffer: &'a dyn AsRef<[u8]>) -> PrettyPrinter<'a, T> { in new() method
Dip.rs282 pub fn new(addr: Address, prefix_len: u8) -> Cidr { in new() method
389 pub const fn new(addr: Address, port: u16) -> Endpoint { in new() method
569 pub fn new( in new() method
Dipv6.rs71 pub const fn new( in new() method
344 pub const fn new(address: Address, prefix_len: u8) -> Cidr { in new() method
/smoltcp-0.9.1/examples/
Dloopback.rs28 pub fn new() -> Clock { in new() method
54 pub fn new() -> Clock { in new() method
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs25 pub fn new() -> Clock { in new() method
49 pub fn new(data: &[u8]) -> TcpHeaderFuzzer { in new() method
/smoltcp-0.9.1/src/socket/
Dwaker.rs10 pub const fn new() -> Self { in new() method
/smoltcp-0.9.1/src/
Drand.rs10 pub(crate) const fn new(seed: u64) -> Self { in new() method
Dparsers.rs25 fn new(data: &'a str) -> Parser<'a> { in new() method
/smoltcp-0.9.1/src/iface/
Dfragmentation.rs43 pub const fn new() -> Self { in new() method
178 pub fn new() -> Self { in new() method
Dsocket_set.rs48 pub fn new<SocketsT>(sockets: SocketsT) -> SocketSet<'a> in new() method
Dneighbor.rs59 pub fn new() -> Self { in new() method
Droute.rs65 pub fn new() -> Self { in new() method
/smoltcp-0.9.1/src/phy/sys/
Draw_socket.rs20 pub fn new(name: &str, medium: Medium) -> io::Result<RawSocketDesc> { in new() method
Dtuntap_interface.rs20 pub fn new(name: &str, medium: Medium) -> io::Result<TunTapInterfaceDesc> { in new() method
Dbpf.rs71 pub fn new(name: &str, _medium: Medium) -> io::Result<BpfDevice> { in new() method
/smoltcp-0.9.1/src/phy/
Dloopback.rs20 pub fn new(medium: Medium) -> Loopback { in new() method
Dtuntap_interface.rs30 pub fn new(name: &str, medium: Medium) -> io::Result<TunTapInterface> { in new() method
Draw_socket.rs29 pub fn new(name: &str, medium: Medium) -> io::Result<RawSocket> { in new() method
Dfuzz_injector.rs30 pub fn new(inner: D, fuzz_tx: FTx, fuzz_rx: FRx) -> FuzzInjector<D, FTx, FRx> { in new() method
Dtracer.rs19 pub fn new(inner: D, writer: fn(timestamp: Instant, packet: Packet)) -> Tracer<D> { in new() method
Dpcap_writer.rs130 pub fn new(lower: D, mut sink: S, mode: PcapMode) -> PcapWriter<D, S> { in new() method
Dfault_injector.rs103 pub fn new(inner: D, seed: u32) -> FaultInjector<D> { in new() method
/smoltcp-0.9.1/src/iface/interface/
Dmod.rs72 pub(crate) fn new() -> Self { in new() method
124 pub(crate) fn new() -> Self { in new() method
292 pub fn new() -> Self { in new() method
471 pub fn new<D>(config: Config, device: &mut D) -> Self in new() method
/smoltcp-0.9.1/src/storage/
Dassembler.rs100 pub const fn new() -> Assembler { in new() method
308 fn new(assembler: &'a Assembler, offset: usize) -> AssemblerIter<'a> { in new() method
Dpacket_buffer.rs53 pub fn new<MS, PS>(metadata_storage: MS, payload_storage: PS) -> PacketBuffer<'a, H> in new() method

12