Home
last modified time | relevance | path

Searched refs:clat_packet (Results 1 – 9 of 9) sorted by relevance

/external/android-clat/
Dtranslate.h36 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,
[all …]
Dtranslate.c36 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos) { in packet_checksum()
52 uint16_t packet_length(clat_packet packet, clat_packet_index pos) { in packet_length()
227 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()
327 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len) { in generic_packet()
343 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, in udp_packet()
367 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, in tcp_packet()
404 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp, in udp_translate()
444 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, in tcp_translate()
469 void send_rawv6(int fd, clat_packet out, int iov_len) __attribute__((weak));
[all …]
Dipv4.c34 int icmp_packet(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, in icmp_packet()
57 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { in ipv4_packet()
Dipv6.c37 int icmp6_packet(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, in icmp6_packet()
78 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { in ipv6_packet()
Dtun.h34 int send_tun(int fd, clat_packet out, int iov_len);
Dclatd.h44 typedef struct iovec clat_packet[CLAT_POS_MAX]; typedef
Dtun.c87 int send_tun(int fd, clat_packet out, int iov_len) { in send_tun()
Dclatd_microbenchmark.c105 clat_packet out = { in send_packet()
Dclatd_test.cpp425 extern "C" void send_rawv6(int fd, clat_packet out, int iov_len) { in send_rawv6()