summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_gif.c
AgeCommit message (Collapse)Author
2013-05-31Remove a bunch of sockaddr_in6 pointer casts and replace othersAlexander Bluhm
with sin6tosa() or satosin6() inline functions. This allows the compiler to check the types more strictly. OK mpi@
2011-04-03Kill redundant offsetof definitions; ok deraadt henning sthen thibStefan Sperling
2010-05-11Massiv cleanup of the gif(4) mess. Move encapsulation into gif_output()Claudio Jeker
where it is not necessary to guess protocols by looking at the first nibble. in_gif_output() will encapsulate the packet but not send it. Because of etherip support and the way the bridge works a minimal hack is needed in gif_start() to ensure that the bridged packets are encapsulated as well. This actually started with the idea to add MPLS support but that turned out to be not as simple as in the gre(4) case. Tested by myself (IP, IPv6, etherip, MPLS), sthen@ (IP, IPv6), naddy (IPv6) OK sthen@
2010-05-07Start cleaning up the mess called rtalloc*. Kill rtalloc2, make rtalloc1Claudio Jeker
accept flags for report and nocloning. Move the rtableid into struct route (with a minor twist for now) and make a few more codepathes rdomain aware. Appart from the pf.c and route.c bits the diff is mostly mechanical. More to come... OK michele, henning
2008-09-28Clear the PF state key before an IP packet exits a gif(4) tunnel, in orderJoel Sing
to prevent state key mismatches. ok henning@
2008-06-11ANSIfy to sync with KAME. From Karl Sjodahl <dunceor@gmail.com>.Ryan Thomas McBride
ok todd deraadt naddy bluhm
2007-06-01apply the "skip ipsec if there are no flows" speedup diff to IPv6 too.Henning Brauer
we need a pointer to the inpcb to decide, which was not previously passed to ip6_output, so this diff is a little bigger. from itojun, ok ryan
2007-02-15Simplify the #if NBRIDGE case as in in_gif.c:1.33.Claudio Jeker
2007-02-10Cleanup, kill dead code and unused arguments. Mostly stuff that is computedClaudio Jeker
and passed around but never used. OK mglocker@
2003-12-03add support for ifconfig clone/destroy; ok henning deraadtMarkus Friedl
2002-05-30minor KNF. nuke obsolete IFF_LINK0 support completelyJun-ichiro itojun Hagino
2002-05-29force fragment to minimum link MTU (1280) when needed (when PMTUD doesJun-ichiro itojun Hagino
not take effect) - like icmp6 responses or foo-over-IPv6 tunnel.
2001-12-07whitespace/comment sync with kameJun-ichiro itojun Hagino
2001-08-19Pass the interface (if any) to ipip_input(), so it can be used inAngelos D. Keromytis
BPF. Closes PR 2000.
2001-07-27variable name "gif" is way too generic - use "gif_softc". sync with kameJun-ichiro itojun Hagino
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-06-08Update packet counters.Artur Grabowski
2001-05-30Update for new prototypes.Angelos D. Keromytis
2001-05-11Check m_pullup() and m_pullup2() return for NULL, not 0; itojun@ okAaron Campbell
2001-04-14Minor changes, preparing for real socket-attached TDBs; also, moreAngelos D. Keromytis
information will be stored in the TDB. ok ho@ provos@
2001-02-16sync whitespace/comment with kame. to help merge tasksJun-ichiro itojun Hagino
2000-12-31Fix non-NBRIDGE caseAngelos D. Keromytis
2000-12-30AF_LINK caseAngelos D. Keromytis
2000-12-30Send AF_LINK to etherip_output()Angelos D. Keromytis
2000-02-07s/DIAGNOSTIC/DEBUG/Jun-ichiro itojun Hagino
2000-02-07fix include file path related to ip6.Jun-ichiro itojun Hagino
2000-01-21Rename the ip4_* routines to ipip_*, make it so GIF tunnels are notAngelos D. Keromytis
affected by net.inet.ipip.allow (the sysctl formerly known as net.inet.ip4.allow), rename the VIF ipip_input to ipip_mroute_input.
2000-01-12Use netinet/ip_ip4.c routines.Angelos D. Keromytis
1999-12-15do not overwrite traffic class portion when filling in IPv6 version field.Jun-ichiro itojun Hagino
1999-12-10Remove remaining unnecessary ifdefs (itojun will hate me for this :-)Angelos D. Keromytis
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).