Searched refs:clat_packet_index (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/clatd/ |
D | translate.h | 37 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos); 40 uint16_t packet_length(clat_packet packet, clat_packet_index pos); 56 int ipv4_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len); 57 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len); 70 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, 72 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, 76 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len); 79 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, 81 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, 84 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, [all …]
|
D | translate.c | 37 uint16_t packet_checksum(uint32_t checksum, clat_packet packet, clat_packet_index pos) { in packet_checksum() 53 uint16_t packet_length(clat_packet packet, clat_packet_index pos) { in packet_length() 228 int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, in icmp_to_icmp6() 280 int icmp6_to_icmp(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, in icmp6_to_icmp() 325 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len) { in generic_packet() 341 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, in udp_packet() 365 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, in tcp_packet() 402 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp, in udp_translate() 442 int tcp_translate(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, in tcp_translate()
|
D | ipv4.c | 34 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()
|
D | ipv6.c | 36 int icmp6_packet(clat_packet out, clat_packet_index pos, const struct icmp6_hdr *icmp6, in icmp6_packet() 77 int ipv6_packet(clat_packet out, clat_packet_index pos, const uint8_t *packet, size_t len) { in ipv6_packet()
|
D | common.h | 37 } clat_packet_index; typedef
|