Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 25 of 73) sorted by relevance

123

/smoltcp-0.9.1/src/wire/
Dmod.rs80 #[cfg(all(feature = "proto-ipv4", feature = "medium-ethernet"))]
82 #[cfg(feature = "proto-dhcpv4")]
84 #[cfg(feature = "proto-dns")]
86 #[cfg(feature = "medium-ethernet")]
88 #[cfg(any(feature = "proto-ipv4", feature = "proto-ipv6"))]
90 #[cfg(feature = "proto-ipv4")]
92 #[cfg(feature = "proto-ipv6")]
94 #[cfg(feature = "medium-ieee802154")]
96 #[cfg(feature = "proto-igmp")]
99 #[cfg(feature = "proto-ipv4")]
[all …]
Dip.rs6 #[cfg(feature = "proto-ipv4")]
8 #[cfg(feature = "proto-ipv6")]
13 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
15 #[cfg(feature = "proto-ipv4")]
17 #[cfg(feature = "proto-ipv6")]
28 #[cfg(feature = "proto-ipv4")] in of_packet()
30 #[cfg(feature = "proto-ipv6")] in of_packet()
40 #[cfg(feature = "proto-ipv4")] in fmt()
42 #[cfg(feature = "proto-ipv6")] in fmt()
86 #[cfg(feature = "proto-ipv4")]
[all …]
Dicmp.rs1 #[cfg(feature = "proto-ipv4")]
3 #[cfg(feature = "proto-ipv6")]
7 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
9 #[cfg(feature = "proto-ipv4")]
11 #[cfg(feature = "proto-ipv6")]
14 #[cfg(feature = "proto-ipv4")]
20 #[cfg(feature = "proto-ipv6")]
Dudp.rs11 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
211 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
236 #[cfg(feature = "proto-ipv4")] in parse()
332 #[cfg(feature = "proto-ipv4")]
335 #[cfg(feature = "proto-ipv4")]
337 #[cfg(feature = "proto-ipv4")]
340 #[cfg(feature = "proto-ipv4")]
345 #[cfg(feature = "proto-ipv4")]
350 #[cfg(feature = "proto-ipv4")]
354 #[cfg(feature = "proto-ipv4")]
[all …]
/smoltcp-0.9.1/src/iface/interface/
Dmod.rs8 #[cfg(feature = "medium-ethernet")]
10 #[cfg(feature = "proto-sixlowpan")]
13 #[cfg(feature = "proto-ipv4")]
15 #[cfg(feature = "proto-ipv6")]
18 #[cfg(feature = "proto-igmp")]
21 #[cfg(feature = "proto-igmp")]
28 #[cfg(any(feature = "proto-ipv4", feature = "proto-sixlowpan"))]
30 #[cfg(any(feature = "medium-ethernet", feature = "medium-ieee802154"))]
40 #[cfg(feature = "socket-dns")]
46 #[cfg(feature = "_proto-fragmentation")]
[all …]
Dipv6.rs7 #[cfg(feature = "socket-icmp")]
14 #[cfg(feature = "proto-ipv6")]
30 #[cfg(feature = "socket-raw")] in process_ipv6()
32 #[cfg(not(feature = "socket-raw"))] in process_ipv6()
46 #[cfg(feature = "proto-ipv6")]
58 #[cfg(any(feature = "socket-udp", feature = "socket-dns"))] in process_nxt_hdr()
78 #[cfg(feature = "socket-tcp")] in process_nxt_hdr()
85 #[cfg(feature = "socket-raw")] in process_nxt_hdr()
104 #[cfg(feature = "proto-ipv6")]
119 #[cfg(feature = "socket-icmp")] in process_icmpv6()
[all …]
Dtests.rs1 #[cfg(feature = "proto-igmp")]
8 #[cfg(feature = "proto-igmp")]
18 #[cfg(feature = "medium-ethernet")]
20 #[cfg(all(not(feature = "medium-ethernet"), feature = "medium-ip"))]
22 #[cfg(all(not(feature = "medium-ethernet"), feature = "medium-ieee802154"))]
27 #[cfg(feature = "medium-ethernet")] in create()
29 #[cfg(feature = "medium-ip")] in create()
31 #[cfg(feature = "medium-ieee802154")] in create()
36 #[cfg(feature = "medium-ip")]
45 #[cfg(feature = "proto-ipv4")] in create_ip()
[all …]
Dipv4.rs3 #[cfg(feature = "socket-dhcpv4")]
5 #[cfg(feature = "socket-icmp")]
27 #[cfg(feature = "proto-ipv4-fragmentation")] in process_ipv4()
65 #[cfg(not(feature = "proto-ipv4-fragmentation"))] in process_ipv4()
70 #[cfg(feature = "socket-raw")] in process_ipv4()
72 #[cfg(not(feature = "socket-raw"))] in process_ipv4()
75 #[cfg(feature = "socket-dhcpv4")] in process_ipv4()
124 #[cfg(feature = "proto-igmp")] in process_ipv4()
127 #[cfg(any(feature = "socket-udp", feature = "socket-dns"))] in process_ipv4()
147 #[cfg(feature = "socket-tcp")] in process_ipv4()
[all …]
Dsixlowpan.rs12 #[cfg(feature = "medium-ieee802154")]
54 #[cfg(not(feature = "proto-sixlowpan-fragmentation"))] in process_sixlowpan()
59 #[cfg(feature = "proto-sixlowpan-fragmentation")] in process_sixlowpan()
85 #[cfg(feature = "proto-sixlowpan-fragmentation")]
260 #[cfg(feature = "medium-ieee802154")]
307 #[cfg(feature = "socket-tcp")] in dispatch_ieee802154()
309 #[cfg(feature = "socket-udp")] in dispatch_ieee802154()
331 #[cfg(feature = "socket-udp")] in dispatch_ieee802154()
338 #[cfg(feature = "socket-tcp")] in dispatch_ieee802154()
342 #[cfg(feature = "proto-ipv6")] in dispatch_ieee802154()
[all …]
Dethernet.rs13 #[cfg(feature = "medium-ethernet")]
31 #[cfg(feature = "proto-ipv4")] in process_ethernet()
33 #[cfg(feature = "proto-ipv4")] in process_ethernet()
40 #[cfg(feature = "proto-ipv6")] in process_ethernet()
51 #[cfg(feature = "medium-ethernet")]
/smoltcp-0.9.1/src/phy/
Dmod.rs15 feature = "medium-ethernet",
94 any(feature = "phy-raw_socket", feature = "phy-tuntap_interface"),
101 #[cfg(feature = "alloc")]
104 #[cfg(all(feature = "phy-raw_socket", unix))]
108 feature = "phy-tuntap_interface",
114 any(feature = "phy-raw_socket", feature = "phy-tuntap_interface"),
121 #[cfg(feature = "alloc")]
124 #[cfg(all(feature = "phy-raw_socket", unix))]
128 feature = "phy-tuntap_interface",
135 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
[all …]
/smoltcp-0.9.1/src/
Dlib.rs1 #![cfg_attr(not(any(test, feature = "std")), no_std)]
91 #[cfg(feature = "alloc")]
95 feature = "proto-ipv4",
96 feature = "proto-ipv6",
97 feature = "proto-sixlowpan"
102 feature = "socket",
104 feature = "socket-raw",
105 feature = "socket-udp",
106 feature = "socket-tcp",
107 feature = "socket-icmp",
[all …]
Dparsers.rs2 not(all(feature = "proto-ipv6", feature = "proto-ipv4")),
9 #[cfg(feature = "medium-ethernet")]
12 #[cfg(feature = "proto-ipv4")]
14 #[cfg(feature = "proto-ipv6")]
127 #[cfg(feature = "medium-ethernet")]
139 #[cfg(feature = "medium-ethernet")]
150 #[cfg(feature = "proto-ipv6")]
162 #[cfg(feature = "proto-ipv6")]
248 #[cfg(feature = "proto-ipv6")]
294 #[cfg(feature = "proto-ipv4")]
[all …]
Dmacros.rs2 #[cfg(feature = "log")]
9 #[cfg(feature = "log")]
15 #[cfg(feature = "defmt")]
21 #[cfg(not(any(feature = "log", feature = "defmt")))]
45 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
/smoltcp-0.9.1/src/socket/
Dmod.rs17 #[cfg(feature = "socket-dhcpv4")]
19 #[cfg(feature = "socket-dns")]
21 #[cfg(feature = "socket-icmp")]
23 #[cfg(feature = "socket-raw")]
25 #[cfg(feature = "socket-tcp")]
27 #[cfg(feature = "socket-udp")]
30 #[cfg(feature = "async")]
33 #[cfg(feature = "async")]
38 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
60 #[cfg(feature = "socket-raw")]
[all …]
Draw.rs2 #[cfg(feature = "async")]
7 #[cfg(feature = "async")]
12 #[cfg(feature = "proto-ipv4")]
14 #[cfg(feature = "proto-ipv6")]
19 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
27 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
34 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
55 #[cfg(feature = "async")]
57 #[cfg(feature = "async")]
75 #[cfg(feature = "async")] in new()
[all …]
Ddns.rs1 #[cfg(feature = "async")]
13 #[cfg(feature = "async")]
22 #[cfg(feature = "proto-ipv6")]
27 #[cfg(feature = "proto-ipv4")]
32 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
41 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
57 #[cfg(feature = "async")]
64 #[cfg(feature = "async")] in set_state()
96 #[cfg(feature = "socket-mdns")]
184 #[cfg(feature = "alloc")] in find_free_query()
[all …]
Dicmp.rs2 #[cfg(feature = "async")]
6 #[cfg(feature = "async")]
12 #[cfg(feature = "proto-ipv4")]
14 #[cfg(feature = "proto-ipv6")]
21 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
29 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
37 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
47 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
88 #[cfg(feature = "async")]
90 #[cfg(feature = "async")]
[all …]
/smoltcp-0.9.1/benches/
Dbench.rs1 #![feature(test)]
6 #[cfg(feature = "proto-ipv4")]
8 #[cfg(feature = "proto-ipv6")]
15 #[cfg(feature = "proto-ipv6")]
19 #[cfg(feature = "proto-ipv6")]
24 #[cfg(all(not(feature = "proto-ipv6"), feature = "proto-ipv4"))]
26 #[cfg(all(not(feature = "proto-ipv6"), feature = "proto-ipv4"))]
30 #[cfg(any(feature = "proto-ipv6", feature = "proto-ipv4"))]
60 #[cfg(any(feature = "proto-ipv6", feature = "proto-ipv4"))]
83 #[cfg(feature = "proto-ipv4")]
[all …]
/smoltcp-0.9.1/
Dgen_config.py10 def feature(name, default, min, max, pow2=None): function
30 feature("iface_max_addr_count", default=2, min=1, max=8)
31 feature("iface_max_multicast_group_count", default=4, min=1, max=1024, pow2=8)
32 feature("iface_max_sixlowpan_address_context_count", default=4, min=1, max=1024, pow2=8)
33 feature("iface_neighbor_cache_count", default=4, min=1, max=1024, pow2=8)
34 feature("iface_max_route_count", default=2, min=1, max=1024, pow2=8)
35 feature("fragmentation_buffer_size", default=1500, min=256, max=65536, pow2=True)
36 feature("assembler_max_segment_count", default=4, min=1, max=32, pow2=4)
37 feature("reassembly_buffer_size", default=1500, min=256, max=65536, pow2=True)
38 feature("reassembly_buffer_count", default=1, min=1, max=32, pow2=4)
[all …]
/smoltcp-0.9.1/src/phy/sys/
Dmod.rs12 feature = "phy-raw_socket",
18 feature = "phy-raw_socket",
23 feature = "phy-tuntap_interface",
29 feature = "phy-raw_socket",
35 feature = "phy-raw_socket",
40 feature = "phy-tuntap_interface",
94 any(feature = "phy-tuntap_interface", feature = "phy-raw_socket"),
105 any(feature = "phy-tuntap_interface", feature = "phy-raw_socket"),
121 any(feature = "phy-tuntap_interface", feature = "phy-raw_socket")
Dtuntap_interface.rs41 #[cfg(feature = "medium-ip")] in attach_interface()
43 #[cfg(feature = "medium-ethernet")] in attach_interface()
45 #[cfg(feature = "medium-ieee802154")] in attach_interface()
73 #[cfg(feature = "medium-ip")] in interface_mtu()
75 #[cfg(feature = "medium-ethernet")] in interface_mtu()
77 #[cfg(feature = "medium-ieee802154")] in interface_mtu()
/smoltcp-0.9.1/src/iface/
Droute.rs6 #[cfg(feature = "proto-ipv4")]
8 #[cfg(feature = "proto-ipv6")]
12 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
17 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
27 #[cfg(feature = "proto-ipv4")]
29 #[cfg(feature = "proto-ipv6")]
35 #[cfg(feature = "proto-ipv4")]
46 #[cfg(feature = "proto-ipv6")]
79 #[cfg(feature = "proto-ipv4")]
94 #[cfg(feature = "proto-ipv6")]
[all …]
Dmod.rs7 #[cfg(any(feature = "proto-ipv4", feature = "proto-sixlowpan"))]
10 #[cfg(any(feature = "medium-ethernet", feature = "medium-ieee802154"))]
16 #[cfg(feature = "proto-igmp")]
Dfragmentation.rs11 #[cfg(feature = "alloc")]
13 #[cfg(not(feature = "alloc"))]
18 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
23 #[cfg_attr(feature = "defmt", derive(defmt::Format))]
47 #[cfg(feature = "alloc")] in new()
49 #[cfg(not(feature = "alloc"))] in new()
73 #[cfg(not(feature = "alloc"))] in set_total_size()
78 #[cfg(feature = "alloc")] in set_total_size()
121 #[cfg(not(feature = "alloc"))] in add()
126 #[cfg(feature = "alloc")] in add()

123