------------------------------------------------------------ revno: 5194 committer: Diego Biurrun <diego@xxxxxxxxxx> branch nick: trunk timestamp: Mon 2010-11-29 09:58:13 +0100 message: Add arpa/inet.h #include for htonl/htons/ntohl/ntohs. modified: firewall/port_bindings.c hipd/esp_prot_light_update.c hipd/hip_socket.c hipd/init.c hipd/maintenance.c hipd/oppdb.c hipd/output.c hipd/registration.c hipd/user_ipsec_sadb_api.c lib/core/builder.c lib/core/prefix.h lib/core/transform.c lib/tool/xfrmapi.c modules/update/hipd/update.c modules/update/hipd/update_builder.c test/firewall/port_bindings.c -- lp:hipl https://code.launchpad.net/~hipl-core/hipl/trunk Your team HIPL core team is subscribed to branch lp:hipl. To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'firewall/port_bindings.c' --- firewall/port_bindings.c 2010-11-15 21:37:09 +0000 +++ firewall/port_bindings.c 2010-11-29 08:58:13 +0000 @@ -30,6 +30,7 @@ * @author Miika Komu <miika@xxxxxx>, Stefan Goetz <stefan.goetz@xxxxxxxxxxxxxxxxx> */ +#include <arpa/inet.h> #include <netinet/in.h> #include <errno.h> #include <signal.h> === modified file 'hipd/esp_prot_light_update.c' --- hipd/esp_prot_light_update.c 2010-11-19 17:07:10 +0000 +++ hipd/esp_prot_light_update.c 2010-11-29 08:58:13 +0000 @@ -35,6 +35,7 @@ #include <errno.h> #include <stdint.h> +#include <arpa/inet.h> #include <netinet/in.h> #include "lib/core/builder.h" === modified file 'hipd/hip_socket.c' --- hipd/hip_socket.c 2010-10-15 15:29:14 +0000 +++ hipd/hip_socket.c 2010-11-29 08:58:13 +0000 @@ -33,6 +33,7 @@ #include <stdint.h> #include <stdlib.h> +#include <arpa/inet.h> #include <netinet/in.h> #include "lib/core/builder.h" === modified file 'hipd/init.c' --- hipd/init.c 2010-11-19 14:34:06 +0000 +++ hipd/init.c 2010-11-29 08:58:13 +0000 @@ -39,6 +39,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <arpa/inet.h> #include <netinet/icmp6.h> #include <netinet/ip.h> #include <netinet/udp.h> === modified file 'hipd/maintenance.c' --- hipd/maintenance.c 2010-11-12 16:42:54 +0000 +++ hipd/maintenance.c 2010-11-29 08:58:13 +0000 @@ -39,6 +39,7 @@ #define _BSD_SOURCE +#include <arpa/inet.h> #include <errno.h> #include <stdlib.h> #include <string.h> === modified file 'hipd/oppdb.c' --- hipd/oppdb.c 2010-10-15 15:29:14 +0000 +++ hipd/oppdb.c 2010-11-29 08:58:13 +0000 @@ -59,6 +59,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> +#include <arpa/inet.h> #include <netinet/in.h> #include "lib/core/builder.h" === modified file 'hipd/output.c' --- hipd/output.c 2010-10-15 15:29:14 +0000 +++ hipd/output.c 2010-11-29 08:58:13 +0000 @@ -42,6 +42,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <arpa/inet.h> #include <netinet/in.h> #include <netinet/udp.h> === modified file 'hipd/registration.c' --- hipd/registration.c 2010-11-15 12:40:48 +0000 +++ hipd/registration.c 2010-11-29 08:58:13 +0000 @@ -35,6 +35,7 @@ * @see hiprelay.h */ +#include <arpa/inet.h> #include <errno.h> #include <limits.h> #include <stdint.h> === modified file 'hipd/user_ipsec_sadb_api.c' --- hipd/user_ipsec_sadb_api.c 2010-10-15 15:29:14 +0000 +++ hipd/user_ipsec_sadb_api.c 2010-11-29 08:58:13 +0000 @@ -34,6 +34,7 @@ */ #include <stdint.h> +#include <arpa/inet.h> #include <netinet/in.h> #include "lib/core/debug.h" === modified file 'lib/core/builder.c' --- lib/core/builder.c 2010-11-22 14:03:57 +0000 +++ lib/core/builder.c 2010-11-29 08:58:13 +0000 @@ -94,6 +94,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <arpa/inet.h> #include <openssl/md5.h> #include "lib/core/common.h" === modified file 'lib/core/prefix.h' --- lib/core/prefix.h 2010-10-15 15:29:14 +0000 +++ lib/core/prefix.h 2010-11-29 08:58:13 +0000 @@ -27,6 +27,7 @@ #define HIP_LIB_CORE_PREFIX_H #include <stdint.h> +#include <arpa/inet.h> #include <netinet/in.h> #include <sys/socket.h> === modified file 'lib/core/transform.c' --- lib/core/transform.c 2010-10-18 17:44:31 +0000 +++ lib/core/transform.c 2010-11-29 08:58:13 +0000 @@ -30,6 +30,8 @@ * @author Miika Komu <miika@xxxxxx> */ +#include <arpa/inet.h> + #include "debug.h" #include "builder.h" #include "transform.h" === modified file 'lib/tool/xfrmapi.c' --- lib/tool/xfrmapi.c 2010-09-20 14:13:40 +0000 +++ lib/tool/xfrmapi.c 2010-11-29 08:58:13 +0000 @@ -18,6 +18,7 @@ #include <stdint.h> #include <string.h> +#include <arpa/inet.h> #include <netinet/in.h> #include <linux/netlink.h> #include <linux/xfrm.h> === modified file 'modules/update/hipd/update.c' --- modules/update/hipd/update.c 2010-11-23 14:50:25 +0000 +++ modules/update/hipd/update.c 2010-11-29 08:58:13 +0000 @@ -36,6 +36,7 @@ #include <errno.h> #include <stdint.h> #include <string.h> +#include <arpa/inet.h> #include <netinet/in.h> #include "config.h" === modified file 'modules/update/hipd/update_builder.c' --- modules/update/hipd/update_builder.c 2010-11-23 14:38:13 +0000 +++ modules/update/hipd/update_builder.c 2010-11-29 08:58:13 +0000 @@ -32,6 +32,7 @@ * @author Rene Hummen */ +#include <arpa/inet.h> #include <string.h> #include "lib/core/builder.h" === modified file 'test/firewall/port_bindings.c' --- test/firewall/port_bindings.c 2010-11-12 17:49:42 +0000 +++ test/firewall/port_bindings.c 2010-11-29 08:58:13 +0000 @@ -23,6 +23,7 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +#include <arpa/inet.h> #include <netinet/in.h> #include <assert.h> #include <check.h>