Lines Matching refs:payload_size
228 uint32_t checksum, const uint8_t *payload, size_t payload_size) { in icmp_to_icmp6() argument
246 clat_packet_len = ipv4_packet(out, pos + 1, payload, payload_size); in icmp_to_icmp6()
260 out[CLAT_POS_PAYLOAD].iov_len = payload_size; in icmp_to_icmp6()
282 const uint8_t *payload, size_t payload_size) { in icmp6_to_icmp() argument
300 clat_packet_len = ipv6_packet(out, pos + 1, payload, payload_size); in icmp6_to_icmp()
306 out[CLAT_POS_PAYLOAD].iov_len = payload_size; in icmp6_to_icmp()
346 size_t payload_size; in udp_packet() local
354 payload_size = len - sizeof(struct udphdr); in udp_packet()
356 return udp_translate(out, pos, udp, old_sum, new_sum, payload, payload_size); in udp_packet()
370 size_t payload_size, header_size; in tcp_packet() local
389 payload_size = len - header_size; in tcp_packet()
391 return tcp_translate(out, pos, tcp, header_size, old_sum, new_sum, payload, payload_size); in tcp_packet()
405 uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) { in udp_translate() argument
412 out[CLAT_POS_PAYLOAD].iov_len = payload_size; in udp_translate()
446 const uint8_t *payload, size_t payload_size) { in tcp_translate() argument
461 out[CLAT_POS_PAYLOAD].iov_len = payload_size; in tcp_translate()