Home | History | Annotate | Download | only in android-clat

Lines Matching refs:clat_packet

36 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos) {
52 uint16_t packet_length(clat_packet packet, clat_packet_index pos) {
225 * returns: the highest position in the output clat_packet that's filled in
227 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp,
279 * returns: the highest position in the output clat_packet that's filled in
281 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6,
325 * returns: the highest position in the output clat_packet that's filled in
327 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len) {
343 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp,
365 * returns: the highest position in the output clat_packet that's filled in
367 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp,
402 * returns: the highest position in the output clat_packet that's filled in
404 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp,
442 clat_packet that's filled in
444 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp,
469 void send_rawv6(int fd, clat_packet out, int iov_len) __attribute__((weak));
471 void send_rawv6(int fd, clat_packet out, int iov_len) {
508 clat_packet out = {