diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2014-02-13 12:53:35 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2014-02-14 13:51:14 +0900 |
commit | f9390605bacda7bbe8ea33aa0a39c1581ff6aea2 (patch) | |
tree | 3f93c576d9a91fa0bac223435bd69b240cbe84cf /ipv4.c | |
parent | 5a50c0283346a197cda7af19e68f611f14b8fe57 (diff) | |
download | android_external_android-clat-f9390605bacda7bbe8ea33aa0a39c1581ff6aea2.tar.gz android_external_android-clat-f9390605bacda7bbe8ea33aa0a39c1581ff6aea2.tar.bz2 android_external_android-clat-f9390605bacda7bbe8ea33aa0a39c1581ff6aea2.zip |
Move translation entry point into translate.c.
The entry point to the translation code is currently called
packet_handler and lives in clatd.c. Move it into translate.c
and rename it to translate_packet, since that's what it does.
Also get rid of some redundant includes.
Bug: 11542311
Change-Id: I8529fb87f3a86ee6724fad54787c33a5e86c56ab
Diffstat (limited to 'ipv4.c')
-rw-r--r-- | ipv4.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -17,15 +17,6 @@ */ #include <string.h> -#include <netinet/in.h> -#include <netinet/ip.h> -#include <netinet/ip_icmp.h> -#include <netinet/udp.h> -#include <netinet/tcp.h> -#include <netinet/ip6.h> -#include <netinet/icmp6.h> -#include <linux/icmp.h> - #include "translate.h" #include "checksum.h" #include "logging.h" |