Home
last modified time | relevance | path

Searched refs:Tcp (Results 1 – 14 of 14) sorted by relevance

/smoltcp-0.9.1/src/wire/
Dipv6fragment.rs242 assert_eq!(header.next_header(), Protocol::Tcp); in test_header_deconstruct()
248 assert_eq!(header.next_header(), Protocol::Tcp); in test_header_deconstruct()
261 next_header: Protocol::Tcp, in test_repr_parse_valid()
273 next_header: Protocol::Tcp, in test_repr_parse_valid()
284 next_header: Protocol::Tcp, in test_repr_emit()
295 next_header: Protocol::Tcp, in test_repr_emit()
Dipv6hopbyhop.rs257 assert_eq!(header.next_header(), Protocol::Tcp); in test_header_deconstruct()
262 assert_eq!(header.next_header(), Protocol::Tcp); in test_header_deconstruct()
320 next_header: Protocol::Tcp, in test_repr_parse_valid()
331 next_header: Protocol::Tcp, in test_repr_parse_valid()
341 next_header: Protocol::Tcp, in test_repr_emit()
351 next_header: Protocol::Tcp, in test_repr_emit()
Dipv6routing.rs552 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()
Dip.rs54 Tcp = 0x06,
70 Protocol::Tcp => write!(f, "TCP"), in fmt()
851 Protocol::Tcp => { in pretty_print_ip_payload()
Dtcp.rs344 checksum::pseudo_header(src_addr, dst_addr, IpProtocol::Tcp, data.len() as u32), in verify_checksum()
563 checksum::pseudo_header(src_addr, dst_addr, IpProtocol::Tcp, data.len() as u32), in fill_checksum()
/smoltcp-0.9.1/src/socket/
Dmod.rs67 Tcp(tcp::Socket<'a>), enumerator
84 Socket::Tcp(s) => s.poll_at(cx), in poll_at()
137 from_socket!(tcp::Socket<'a>, Tcp);
Draw.rs624 Ipv4Packet::new_unchecked(&mut wrong_protocol).set_next_header(IpProtocol::Tcp); in test_send_illegal()
647 Ipv6Packet::new_unchecked(&mut wrong_protocol[..]).set_next_header(IpProtocol::Tcp); in test_send_illegal()
Dtcp.rs1185 IpProtocol::Tcp, in reply()
2038 IpProtocol::Tcp, in dispatch()
2358 next_header: IpProtocol::Tcp,
2378 next_header: IpProtocol::Tcp,
2428 next_header: IpProtocol::Tcp, in send()
2455 assert_eq!(ip_repr.next_header(), IpProtocol::Tcp); in recv()
6932 next_header: IpProtocol::Tcp, in test_doesnt_accept_wrong_ip()
6941 next_header: IpProtocol::Tcp, in test_doesnt_accept_wrong_ip()
6950 next_header: IpProtocol::Tcp, in test_doesnt_accept_wrong_ip()
/smoltcp-0.9.1/benches/
Dbench.rs88 next_header: IpProtocol::Tcp, in bench_emit_ipv4()
106 next_header: IpProtocol::Tcp, in bench_emit_ipv6()
/smoltcp-0.9.1/src/iface/interface/
Dsixlowpan.rs308 IpPacket::Tcp(_) => SixlowpanNextHeader::Uncompressed(IpProtocol::Tcp), in dispatch_ieee802154()
339 IpPacket::Tcp((_, tcp_repr)) => { in dispatch_ieee802154()
398 IpPacket::Tcp((_, tcp_repr)) => { in dispatch_ieee802154()
512 IpPacket::Tcp((_, tcp_repr)) => { in dispatch_ieee802154()
Dmod.rs332 Tcp((IpRepr, TcpRepr<'a>)), enumerator
351 IpPacket::Tcp((ip_repr, _)) => ip_repr.clone(), in ip_repr()
391 IpPacket::Tcp((_, mut tcp_repr)) => { in emit_payload()
951 Socket::Tcp(socket) => socket.dispatch(&mut self.inner, |inner, response| { in socket_egress()
952 respond(inner, IpPacket::Tcp(response)) in socket_egress()
1441 .map(IpPacket::Tcp); in process_tcp()
1450 Some(IpPacket::Tcp(tcp::Socket::rst_reply(&ip_repr, &tcp_repr))) in process_tcp()
Dipv6.rs79 IpProtocol::Tcp => self.process_tcp(sockets, ipv6_repr.into(), ip_payload), in process_nxt_hdr()
Dipv4.rs148 IpProtocol::Tcp => self.process_tcp(sockets, ip_repr, ip_payload), in process_ipv4()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dsixlowpan_packet.rs138 IpProtocol::Tcp => {