Lines Matching refs:clat_packet
38 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos) { in packet_checksum()
54 uint16_t packet_length(clat_packet packet, clat_packet_index pos) { in packet_length()
229 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, in icmp_to_icmp6()
281 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, in icmp6_to_icmp()
326 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len) { in generic_packet()
342 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, in udp_packet()
366 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, in tcp_packet()
403 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp, in udp_translate()
443 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, in tcp_translate()
468 void send_rawv6(int fd, clat_packet out, int iov_len) __attribute__((weak));
470 void send_rawv6(int fd, clat_packet out, int iov_len) { in send_rawv6()
506 clat_packet out = { in translate_packet()