| * Copyright (c) 2015 Tom Herbert <tom@herbertland.com> |
| * This program is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU General Public License as |
| * published by the Free Software Foundation; either version 2 of |
| * the License, or (at your option) any later version. |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| #include <linux/socket.h> |
| #include <linux/skbuff.h> |
| #include <net/checksum.h> |
| #include <net/protocol.h> |
| #include <uapi/linux/ila.h> |
| static inline __wsum compute_csum_diff8(const __be32 *from, const __be32 *to) |
| ~from[0], ~from[1], to[0], to[1], |
| return csum_partial(diff, sizeof(diff), 0); |
| void update_ipv6_locator(struct sk_buff *skb, struct ila_params *p); |
| void ila_xlat_fini(void); |