diff options
author | Bill Yi <byi@google.com> | 2014-04-29 11:33:58 -0700 |
---|---|---|
committer | Bill Yi <byi@google.com> | 2014-04-29 11:33:58 -0700 |
commit | e64eccb68b8101d8fa2effb826e185db7f82dba9 (patch) | |
tree | a998eadda945096879354c22de8cb3ab66b92b8d | |
parent | 932614ee5e740704d7ef951dff6daede4fe12904 (diff) | |
parent | d2346cad4215e2a5c50f7fd7d6d3f46c80286330 (diff) | |
download | android_external_android-clat-e64eccb68b8101d8fa2effb826e185db7f82dba9.tar.gz android_external_android-clat-e64eccb68b8101d8fa2effb826e185db7f82dba9.tar.bz2 android_external_android-clat-e64eccb68b8101d8fa2effb826e185db7f82dba9.zip |
Merge commit 'd2346cad4215e2a5c50f7fd7d6d3f46c80286330' into HEAD
-rw-r--r-- | translate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/translate.h b/translate.h index 421d2a5..6d4f126 100644 --- a/translate.h +++ b/translate.h @@ -72,6 +72,11 @@ size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_tar const struct iphdr *old_header); uint8_t parse_frag_header(const struct ip6_frag *frag_hdr, struct iphdr *ip_targ); +// Deal with fragmented packets. +size_t maybe_fill_frag_header(struct ip6_frag *frag_hdr, struct ip6_hdr *ip6_targ, + const struct iphdr *old_header); +uint8_t parse_frag_header(const struct ip6_frag *frag_hdr, struct iphdr *ip_targ); + // Translate ICMP packets. int icmp_to_icmp6(clat_packet out, clat_packet_index pos, const struct icmphdr *icmp, uint32_t checksum, const uint8_t *payload, size_t payload_size); |