Home
last modified time | relevance | path

Searched refs:tcp_payload (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/transport/
Dtcp_header_slice.rs554 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 …]
Dtcp_header.rs1546 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 …]
Dtransport_header.rs341 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),