summaryrefslogtreecommitdiff
path: root/sys/netinet/in_gif.c
AgeCommit message (Collapse)Author
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-12-03add support for ifconfig clone/destroy; ok henning deraadtMarkus Friedl
2003-07-28allow gif(4) over ipsec: mark mbuf for transport mode SA,Markus Friedl
so in_gif_input can detect whether a proto 4 header is due to ipsec tunnel mode or gif(4) encapsulation; fixes pr 3023 ok itojun@. provos@ and angelos@ agree; tested by sturm@
2003-07-09do not flip ip_len/ip_off in netinet stack. deraadt ok.Jun-ichiro itojun Hagino
(please test, especially PF portion)
2002-08-28Fix a problem where passing NULL as a pointer with varargs does not promotePer Fogelstrom
NULL to full 64 bits on a 64 bit address system. Soultion is to add a (void *) cast before NULL. This makes a 64 bit MIPS kernel work and will probably help future 64 bit ports as well. OK from art@
2002-06-09whitespaceJun-ichiro itojun Hagino
2002-05-30minor KNF. nuke obsolete IFF_LINK0 support completelyJun-ichiro itojun Hagino
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
the ANSI way.
2001-12-07sync comment 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-08Update packet counters correctly.Artur Grabowski
From Robert J. Wozny <speedy@atman.pl>
2001-06-08Cut down on include files.Angelos D. Keromytis
2001-05-30No need for last argument in ipip_output()Angelos D. Keromytis
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-04-06Move offsetof define into sys/param.hConstantine Sapuntzakis
2001-02-16sync whitespace/comment with kame. to help merge tasksJun-ichiro itojun Hagino
2000-12-31Fix non-NBRIDGE caseAngelos D. Keromytis
2000-12-31Remove debugging printf.Angelos D. Keromytis
2000-12-30AF_LINK case.Angelos D. Keromytis
2000-12-30Send AF_LINK to etherip_output()Angelos D. Keromytis
2000-05-25net.inet.ip.gif_ttl (and IPv6 counterpart) is never used.Jun-ichiro itojun Hagino
enforce type checking on IN6_ARE_ADDR_EQUAL.
2000-02-07s/DIAGNOSTIC/DEBUG/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-11Mostly cosmetic changes, and avoid an m_pullup()Angelos D. Keromytis
2000-01-07s/memset/bzero/Jun-ichiro itojun Hagino
From: Michael Shalayeff <mickey@lucifier.dial-up.user.akula.net>
1999-12-28remove non-effective kame patch. openbsd ip_input() passesJun-ichiro itojun Hagino
different thing to the upper-layers than other KAME/*BSD does (additional NULL pointer and "0"), so live with that. (sync with kame)
1999-12-21reuse encapsulate/decapsulate routine in ip_ip4.c from gif interfaceJun-ichiro itojun Hagino
(outer=IPv4 case). tested with (inner=IPv6, outer=IPv4) case. BUG ALERT: in_gif_output() assumes about ipe4_output()'s behavior too much. I mean, "tdb" is configured with certain knowledge about ipe4_output()'s behavior.
1999-12-09Minor cleanupAngelos 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).