#include <linux/errno.h> #include <linux/ip.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/skbuff.h> #include <linux/socket.h> #include <linux/types.h> #include <net/checksum.h> #include <net/ip.h> #include <net/ip6_fib.h> #include <net/lwtunnel.h> #include <net/protocol.h> #include <uapi/linux/ila.h> #include "ila.h" void ila_init_saved_csum(struct ila_params *p) { … } static __wsum get_csum_diff_iaddr(struct ila_addr *iaddr, struct ila_params *p) { … } static __wsum get_csum_diff(struct ipv6hdr *ip6h, struct ila_params *p) { … } static void ila_csum_do_neutral_fmt(struct ila_addr *iaddr, struct ila_params *p) { … } static void ila_csum_do_neutral_nofmt(struct ila_addr *iaddr, struct ila_params *p) { … } static void ila_csum_adjust_transport(struct sk_buff *skb, struct ila_params *p) { … } void ila_update_ipv6_locator(struct sk_buff *skb, struct ila_params *p, bool sir2ila) { … }