SIIT and NAT64 for Linux.
ricardosalveti packet: rename offset_to_ptr to skb_offset_to_ptr to avoid conflicts …
…with newer kernel

Rename offset_to_ptr to skb_offset_to_ptr to avoid definition conflict
when building jool against linux >= 4.19.

Fixes:
| mod/stateful/../common/packet.c:73:14: error: conflicting types for 'offset_to_ptr'
|  static void *offset_to_ptr(struct sk_buff *skb, unsigned int offset)
|               ^~~~~~~~~~~~~
| In file included from kernel-source/include/linux/export.h:45,
|                  from kernel-source/include/linux/linkage.h:7,
|                  from kernel-source/include/linux/kernel.h:7,
|                  from kernel-source/include/linux/skbuff.h:17,
|                  from mod/stateful/../../include/nat64/mod/common/packet.h:81,
|                  from mod/stateful/../common/packet.c:1:
| kernel-source/include/linux/compiler.h:297:21: note: previous definition of 'offset_to_ptr' was here
|  static inline void *offset_to_ptr(const int *off)
|                      ^~~~~~~~~~~~~

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Latest commit 89b3c10 Oct 1, 2018

README.md

Jool

An SIIT and a NAT64 for Linux.

Note!

Jool's website is hosted in two separate domains simultaneously:

Documentation

See here. You can also generate the docs yourself.

You might also want to see contact info.

Credits

NIC-Mx

ITESM representatives

ITESM students

Special Thanks (contributing users)

Legal stuff

Jool - SIIT and NAT64 for Linux
Copyright (C) 2018  NIC Mexico <jool@nic.mx>

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, version 2.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.