Lines Matching refs:clat_packet
36 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos);
39 uint16_t packet_length(clat_packet packet, clat_packet_index pos);
55 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len);
56 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len);
69 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
71 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6,
75 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len);
78 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp,
80 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp,
83 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp,
86 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp,