Home
last modified time | relevance | path

Searched refs:TcpOption (Results 1 – 2 of 2) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dtcp.rs304 let (next_options, option) = TcpOption::parse(options)?; in selective_ack_permitted()
305 if option == TcpOption::SackPermitted { in selective_ack_permitted()
320 let (next_options, option) = TcpOption::parse(options)?;
321 if let TcpOption::SackRange(slice) = option {
596 pub enum TcpOption<'a> { enum
606 impl<'a> TcpOption<'a> { impl
607 pub fn parse(buffer: &'a [u8]) -> Result<(&'a [u8], TcpOption<'a>)> { in parse()
612 option = TcpOption::EndOfList; in parse()
616 option = TcpOption::NoOperation; in parse()
624 option = TcpOption::MaxSegmentSize(NetworkEndian::read_u16(data)) in parse()
[all …]
Dmod.rs243 TcpOption, HEADER_LEN as TCP_HEADER_LEN,