Searched refs:tcp_repr (Results 1 – 4 of 4) sorted by relevance
/smoltcp-0.9.1/src/iface/interface/ |
D | sixlowpan.rs | 339 IpPacket::Tcp((_, tcp_repr)) => { in dispatch_ieee802154() 340 total_size += tcp_repr.buffer_len(); in dispatch_ieee802154() 398 IpPacket::Tcp((_, tcp_repr)) => { in dispatch_ieee802154() 400 TcpPacket::new_unchecked(&mut b[..tcp_repr.buffer_len()]); in dispatch_ieee802154() 401 tcp_repr.emit( in dispatch_ieee802154() 512 IpPacket::Tcp((_, tcp_repr)) => { in dispatch_ieee802154() 514 TcpPacket::new_unchecked(&mut tx_buf[..tcp_repr.buffer_len()]); in dispatch_ieee802154() 515 tcp_repr.emit( in dispatch_ieee802154()
|
D | mod.rs | 391 IpPacket::Tcp((_, mut tcp_repr)) => { in emit_payload() 402 max_segment_size -= tcp_repr.header_len(); in emit_payload() 405 if tcp_repr.window_len as usize > max_window_size { in emit_payload() 406 tcp_repr.window_len = max_window_size as u16; in emit_payload() 410 tcp_repr.emit( in emit_payload() 1427 let tcp_repr = check!(TcpRepr::parse( in process_tcp() localVariable 1438 if tcp_socket.accepts(self, &ip_repr, &tcp_repr) { in process_tcp() 1440 .process(self, &ip_repr, &tcp_repr) in process_tcp() 1445 if tcp_repr.control == TcpControl::Rst { in process_tcp() 1450 Some(IpPacket::Tcp(tcp::Socket::rst_reply(&ip_repr, &tcp_repr))) in process_tcp()
|
/smoltcp-0.9.1/src/socket/ |
D | tcp.rs | 2454 .dispatch(&mut socket.cx, |_, (ip_repr, tcp_repr)| { in recv() 2458 assert_eq!(ip_repr.payload_len(), tcp_repr.buffer_len()); in recv() 2460 net_trace!("recv: {}", tcp_repr); in recv() 2462 Ok(f(Ok(tcp_repr))) in recv() 2668 let tcp_repr = TcpRepr { in test_closed_reject() localVariable 2672 assert!(!s.socket.accepts(&mut s.cx, &SEND_IP_TEMPL, &tcp_repr)); in test_closed_reject() 2681 let tcp_repr = TcpRepr { in test_closed_reject_after_listen() localVariable 2685 assert!(!s.socket.accepts(&mut s.cx, &SEND_IP_TEMPL, &tcp_repr)); in test_closed_reject_after_listen() 2840 let tcp_repr = TcpRepr { in test_listen_syn_reject_ack() localVariable 2846 assert!(!s.socket.accepts(&mut s.cx, &SEND_IP_TEMPL, &tcp_repr)); in test_listen_syn_reject_ack() [all …]
|
/smoltcp-0.9.1/src/wire/ |
D | ip.rs | 863 Ok(tcp_repr) => { in pretty_print_ip_payload()
|