Lines Matching refs:Protocol
4 use crate::wire::IpProtocol as Protocol;
193 pub fn next_header(&self) -> Protocol { in next_header() argument
195 Protocol::from(data[field::NXT_HDR]) in next_header()
276 pub fn set_next_header(&mut self, value: Protocol) { in set_next_header() argument
404 next_header: Protocol,
414 next_header: Protocol,
552 next_header: Protocol::Tcp,
567 next_header: Protocol::Tcp,
586 next_header: Protocol::Tcp,
614 assert_eq!(header.next_header(), Protocol::Tcp); in test_header_deconstruct()
621 assert_eq!(header.next_header(), Protocol::Tcp); in test_header_deconstruct()
628 assert_eq!(header.next_header(), Protocol::Tcp); in test_header_deconstruct()