Searched refs:tcp_packet (Results 1 – 4 of 4) sorted by relevance
82 let tcp_packet = TcpPacket::new_checked(&frame_data[tcp_packet_offset..]).unwrap(); in fuzz_packet() localVariable83 tcp_packet.syn() in fuzz_packet()95 let tcp_packet = &frame_data[tcp_packet_offset..]; in fuzz_packet() localVariable96 (tcp_packet[12] as usize >> 4) * 4 in fuzz_packet()99 let tcp_packet = &mut frame_data[tcp_packet_offset + 4..]; in fuzz_packet() localVariable103 assert!(copy_len < tcp_packet.len()); in fuzz_packet()104 tcp_packet[..copy_len].copy_from_slice(&replacement_data[..copy_len]); in fuzz_packet()
399 let mut tcp_packet = in dispatch_ieee802154() localVariable402 &mut tcp_packet, in dispatch_ieee802154()513 let mut tcp_packet = in dispatch_ieee802154() localVariable516 &mut tcp_packet, in dispatch_ieee802154()
1426 let tcp_packet = check!(TcpPacket::new_checked(ip_payload)); in process_tcp() localVariable1428 &tcp_packet, in process_tcp()
855 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()