On Tue, Jun 08, 2010 at 10:28:37AM +0300, Artturi Karila wrote: > > Log: > Header cleanup in firewall/ > > Removed unused items, static'ed functions not in external use. This commit mixes multiple unrelated things and is thus rather large. It's nigh unreviewable in sensible amounts of time. > --- firewall/lsi.c 2010-05-31 09:44:40 +0000 > +++ firewall/lsi.c 2010-06-08 07:28:34 +0000 > @@ -183,6 +183,102 @@ > > +static int hip_reinject_packet(const struct in6_addr *src_hit, > + const struct in6_addr *dst_hit, > + const ipq_packet_msg_t *m, > + const int ipOrigTraffic, > + const int incoming) messed up indentation > --- firewall/user_ipsec_esp.c 2010-06-01 15:27:26 +0000 > +++ firewall/user_ipsec_esp.c 2010-06-08 07:28:34 +0000 > @@ -88,6 +88,66 @@ > > +static void add_ipv4_header(struct ip *ip_hdr, const struct in6_addr > *src_addr, > + const struct in6_addr *dst_addr, const uint16_t > packet_len, > + const uint8_t next_hdr) ditto > +static void add_ipv6_header(struct ip6_hdr *ip6_hdr, const struct in6_addr > *src_addr, > + const struct in6_addr *dst_addr, const uint16_t > packet_len, > + const uint8_t next_hdr) again Diego