Searched refs:tcp_payload (Results 1 – 3 of 3) sorted by relevance
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/transport/ |
D | tcp_header_slice.rs | 554 let tcp_payload = [1, 2, 3, 4, 5, 6, 7, 8]; in calc_checksum_ipv4() localVariable 560 tcp.header_len_u16() + (tcp_payload.len() as u16), in calc_checksum_ipv4() 580 tcp_slice.calc_checksum_ipv4(&ip_slice, &tcp_payload) in calc_checksum_ipv4() 586 let tcp_payload = [1, 2, 3, 4, 5, 6, 7, 8]; in calc_checksum_ipv4() localVariable 605 tcp.header_len_u16() + (tcp_payload.len() as u16), in calc_checksum_ipv4() 625 tcp_slice.calc_checksum_ipv4(&ip_slice, &tcp_payload) in calc_checksum_ipv4() 631 let tcp_payload = [1, 2, 3, 4, 5, 6, 7, 8, 9]; in calc_checksum_ipv4() localVariable 650 tcp.header_len_u16() + (tcp_payload.len() as u16), in calc_checksum_ipv4() 670 tcp_slice.calc_checksum_ipv4(&ip_slice, &tcp_payload) in calc_checksum_ipv4() 679 let mut tcp_payload = Vec::with_capacity(len); in calc_checksum_ipv4() localVariable [all …]
|
D | tcp_header.rs | 1546 let tcp_payload = [1, 2, 3, 4, 5, 6, 7, 8]; in calc_checksum_ipv4() localVariable 1551 tcp.header_len_u16() + (tcp_payload.len() as u16), in calc_checksum_ipv4() 1561 assert_eq!(Ok(0x0), tcp.calc_checksum_ipv4(&ip_header, &tcp_payload)); in calc_checksum_ipv4() 1564 tcp.calc_checksum_ipv4_raw(ip_header.source, ip_header.destination, &tcp_payload) in calc_checksum_ipv4() 1570 let tcp_payload = [1, 2, 3, 4, 5, 6, 7, 8]; in calc_checksum_ipv4() localVariable 1589 tcp.header_len_u16() + (tcp_payload.len() as u16), in calc_checksum_ipv4() 1602 assert_eq!(Ok(0xdeeb), tcp.calc_checksum_ipv4(&ip_header, &tcp_payload)); in calc_checksum_ipv4() 1607 let tcp_payload = [1, 2, 3, 4, 5, 6, 7, 8, 9]; in calc_checksum_ipv4() localVariable 1626 tcp.header_len_u16() + (tcp_payload.len() as u16), in calc_checksum_ipv4() 1639 assert_eq!(Ok(0xd5ea), tcp.calc_checksum_ipv4(&ip_header, &tcp_payload)); in calc_checksum_ipv4() [all …]
|
D | transport_header.rs | 341 let tcp_payload = unsafe { localVariable 352 transport.update_checksum_ipv4(&ipv4, &tcp_payload), 375 let tcp_payload = unsafe { localVariable 386 transport.update_checksum_ipv4(&ipv4, &tcp_payload), 477 let tcp_payload = unsafe { localVariable 488 transport.update_checksum_ipv6(&ipv6, &tcp_payload),
|