summaryrefslogtreecommitdiffstats
path: root/sys/net/if_gre.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for WCCPv2. It should be enablem manually using link2sobomax2004-01-261-0/+12
| | | | | | | | ifconfig(8) flag since header for version 2 is the same but IP payload is prepended with additional 4-bytes field. Inspired by: Roman Synyuk <roman@univ.kiev.ua> MFC after: 2 weeks
* (whilespace-only)sobomax2004-01-261-9/+9
| | | | Kill trailing spaces.
* Sync with NetBSD:sobomax2003-12-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if_gre.c rev.1.41-1.49 o Spell output with two ts. o Remove assigned-to but not used variable. o fix grammatical error in a diagnostic message. o u_short -> u_int16_t. o gi_len is ip_len, so it has to be network byteorder. if_gre.h rev.1.11-1.13 o prototype must not have variable name. o u_short -> u_int16_t. o Spell address with two d's. ip_gre.c rev.1.22-1.29 o KNF - return is not a function. o The "osrc" variable in gre_mobile_input() is only ever set but not referenced; remove it. o correct (false) assumptions on mbuf chain. not sure if it really helps, but anyways, it is necessary to perform m_pullup. o correct arg to m_pullup (need to count IP header size as well). o remove redundant adjustment of m->m_pkthdr.len. o clear m_flags just for safety. o tabify. o u_short -> u_int16_t. MFC after: 2 weeks
* MFS: recognize gre packets used in the WCCP protocol.sobomax2002-12-071-0/+7
| | | | Approved by: re
* s/__attribute__((__packed__))/__packed/galfred2002-09-231-4/+4
|
* Prevent namespace pollution in use-land by putting everything used only insobomax2002-09-091-0/+3
| | | | | | kernel (softc and such) under #ifdef _KERNEL. Submitted by: bde
* Remove #include <netinet/ip.h>.sobomax2002-09-071-4/+0
| | | | Submitted by: bde
* Include <netinet/ip.h> to unbreak kdump. I don't know why does kdumpsobomax2002-09-061-0/+4
| | | | | | | | includes if_gre.h at all, but it does, without including ip.h before that. Poked by: peter Pointy hat to: kdump(1)
* Reduce namespace pollution by staticizing everything, which doesn't need tosobomax2002-09-061-4/+0
| | | | be visible from outside of the module.
* Add a new gre(4) driver, which could be used to create GRE (RFC1701)sobomax2002-09-061-0/+166
and MOBILE (RFC2004) IP tunnels. Obrained from: NetBSD
OpenPOWER on IntegriCloud