Home
last modified time | relevance | path

Searched refs:tcp_packet (Results 1 – 4 of 4) sorted by relevance

/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs82 let tcp_packet = TcpPacket::new_checked(&frame_data[tcp_packet_offset..]).unwrap(); in fuzz_packet() localVariable
83 tcp_packet.syn() in fuzz_packet()
95 let tcp_packet = &frame_data[tcp_packet_offset..]; in fuzz_packet() localVariable
96 (tcp_packet[12] as usize >> 4) * 4 in fuzz_packet()
99 let tcp_packet = &mut frame_data[tcp_packet_offset + 4..]; in fuzz_packet() localVariable
103 assert!(copy_len < tcp_packet.len()); in fuzz_packet()
104 tcp_packet[..copy_len].copy_from_slice(&replacement_data[..copy_len]); in fuzz_packet()
/smoltcp-0.9.1/src/iface/interface/
Dsixlowpan.rs399 let mut tcp_packet = in dispatch_ieee802154() localVariable
402 &mut tcp_packet, in dispatch_ieee802154()
513 let mut tcp_packet = in dispatch_ieee802154() localVariable
516 &mut tcp_packet, in dispatch_ieee802154()
Dmod.rs1426 let tcp_packet = check!(TcpPacket::new_checked(ip_payload)); in process_tcp() localVariable
1428 &tcp_packet, in process_tcp()
/smoltcp-0.9.1/src/wire/
Dip.rs855 Ok(tcp_packet) => { in pretty_print_ip_payload()
857 &tcp_packet, in pretty_print_ip_payload()
866 tcp_packet.verify_checksum(&repr.src_addr(), &repr.dst_addr()); in pretty_print_ip_payload()