Lines Matching refs:payload_size
134 const uint8_t *payload, size_t payload_size) { in dump_udp_generic() argument
138 temp_checksum = ip_checksum_add(temp_checksum, payload, payload_size); in dump_udp_generic()
150 const uint8_t *payload, size_t payload_size) { in dump_udp() argument
152 temp_checksum = ipv4_pseudo_header_checksum(ip, sizeof(*udp) + payload_size); in dump_udp()
153 dump_udp_generic(udp, temp_checksum, payload, payload_size); in dump_udp()
158 const uint8_t *payload, size_t payload_size) { in dump_udp6() argument
160 temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*udp) + payload_size, IPPROTO_UDP); in dump_udp6()
161 dump_udp_generic(udp, temp_checksum, payload, payload_size); in dump_udp6()
165 …ptions, size_t options_size, uint32_t temp_checksum, const uint8_t *payload, size_t payload_size) { in dump_tcp_generic() argument
172 temp_checksum = ip_checksum_add(temp_checksum, payload, payload_size); in dump_tcp_generic()
207 const uint8_t *payload, size_t payload_size, in dump_tcp() argument
211 temp_checksum = ipv4_pseudo_header_checksum(ip, sizeof(*tcp) + options_size + payload_size); in dump_tcp()
212 dump_tcp_generic(tcp, options, options_size, temp_checksum, payload, payload_size); in dump_tcp()
217 const uint8_t *payload, size_t payload_size, in dump_tcp6() argument
221 …temp_checksum = ipv6_pseudo_header_checksum(ip6, sizeof(*tcp) + options_size + payload_size, IPPRO… in dump_tcp6()
222 dump_tcp_generic(tcp, options, options_size, temp_checksum, payload, payload_size); in dump_tcp6()