Searched refs:HEADER_LEN (Results 1 – 6 of 6) sorted by relevance
/smoltcp-0.9.1/src/wire/ |
D | udp.rs | 31 pub const HEADER_LEN: usize = field::CHECKSUM.end; constant 60 if buffer_len < HEADER_LEN { in check_len() 64 if buffer_len < field_len || field_len < HEADER_LEN { in check_len() 250 HEADER_LEN in header_len() 264 packet.set_len((HEADER_LEN + payload_len) as u16); in emit_header() 282 packet.set_len((HEADER_LEN + payload_len) as u16); in emit()
|
D | ethernet.rs | 99 pub const HEADER_LEN: usize = field::PAYLOAD.start; constant 121 if len < HEADER_LEN { in check_len() 135 HEADER_LEN in header_len() 141 HEADER_LEN + payload_len in buffer_len() 281 HEADER_LEN in buffer_len()
|
D | mod.rs | 137 Repr as EthernetRepr, HEADER_LEN as ETHERNET_HEADER_LEN, 173 Repr as Ipv4Repr, HEADER_LEN as IPV4_HEADER_LEN, MIN_MTU as IPV4_MIN_MTU, 179 HEADER_LEN as IPV6_HEADER_LEN, MIN_MTU as IPV6_MIN_MTU, 239 pub use self::udp::{Packet as UdpPacket, Repr as UdpRepr, HEADER_LEN as UDP_HEADER_LEN}; 243 TcpOption, HEADER_LEN as TCP_HEADER_LEN,
|
D | ipv6.rs | 440 pub const HEADER_LEN: usize = field::DST_ADDR.end; constant
|
D | ipv4.rs | 303 pub const HEADER_LEN: usize = field::DST_ADDR.end; constant
|
D | tcp.rs | 112 pub const HEADER_LEN: usize = field::URGENT.end; constant
|