summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipip.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add sysctl entry points into various network layers, in particular toderaadt2007-12-141-1/+6
| | | | provide netstat(1) with data it needs; ok claudio reyk
* Cleanup, kill dead code and unused arguments. Mostly stuff that is computedclaudio2007-02-101-3/+3
| | | | and passed around but never used. OK mglocker@
* use IN6_IS_SCOPE_EMBED to check kernel-internal form addressesitojun2006-12-131-3/+3
| | | | | (s6_addr16[1] filled) ok dhartmei
* Remove virtual tunnel support from the mrouting code. The virtual tunnelclaudio2006-04-251-10/+1
| | | | | | code breaks multicast on gif(4) interfaces and it is far better to configure a real gif(4) tunnel instead of a multicast tunnel as the latter is almost not manageable. OK norby@, mblamer@
* allow bpf(4) to ignore packets based on their direction (inbound ordjm2006-03-251-2/+2
| | | | | outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
* Use more queue macros rather than doing it by hand; ok otto@ krw@miod2006-03-051-5/+3
|
* With the exception of two other small uncommited diffs this movesbrad2006-03-041-2/+2
| | | | | | the remainder of the network stack from splimp to splnet. ok miod@
* Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainpascoe2005-07-311-17/+4
| | | | | | | | | | to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@
* ip6_plen does not include the size of the ipv6 header; ok itojunmarkus2004-11-171-2/+2
|
* make it possble to use IPsec over link-local address (policy table usesitojun2004-06-211-3/+3
| | | | sin6_scope_id, IPsec porion uses embedded form). beck ok
* de-register. deraadt okitojun2003-12-101-5/+5
|
* just as a safety measure, set m_flags to 0 for mbufs allocated on stack.itojun2003-05-031-1/+2
| | | | dhartmei ok
* KNFderaadt2003-01-311-2/+2
|
* Also, return EAFNOSUPPORT instead of ENOBUFS. Both this and theangelos2002-07-051-2/+2
| | | | previous commit where noted by sam@errno.com
* Bump ipips_family in ipipstat in all cases where EAFNOSUPPORT is returned.angelos2002-07-051-1/+3
|
* correct tcpdump on gif interface (inbound). reported by friesitojun2002-06-101-16/+29
|
* whitespaceitojun2002-06-091-8/+8
|
* bring in ECN support from KAME.kjc2002-05-161-3/+9
| | | | | | | | | | | | it consists of - ECN support in TCP - tunnel-egress and fragment reassembly rules in layer-3 not to lose congestion info at tunnel-egress and fragment reassembly to enable ECN in TCP, build a kernel with TCP_ECN, and then, turn it on by "sysctl -w net.inet.tcp.ecn=1". ok deraadt@
* Sanity check on inner IP header in IP-in-IP encapsulation; could beangelos2001-12-061-1/+8
| | | | | exploited to crash systems that allowed IP-in-IP protocol (sysctl -w net.inet.ipip.allow=1)
* Pass the interface (if any) to ipip_input(), so it can be used inangelos2001-08-191-8/+25
| | | | BPF. Closes PR 2000.
* Make preprocessor happier, don't give it untasty tokens at end of input.espie2001-07-041-2/+2
| | | | Ok millert@
* More KNFangelos2001-06-261-367/+342
|
* Copyright.angelos2001-06-251-4/+4
|
* mop up after angelosderaadt2001-06-191-2/+2
|
* Cut down on include files.angelos2001-06-081-14/+1
|
* Match prototype.angelos2001-05-301-2/+2
|
* Check m_pullup() and m_pullup2() return for NULL, not 0; itojun@ okaaron2001-05-111-3/+3
|
* Minor changes, preparing for real socket-attached TDBs; also, moreangelos2001-04-141-2/+2
| | | | information will be stored in the TDB. ok ho@ provos@
* Move offsetof define into sys/param.hcsapuntz2001-04-061-5/+1
|
* Allow tdbi's to appear in mbufs throughout the stack; this allowsangelos2001-03-281-42/+3
| | | | | | | | | security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs.
* If net.inet.ipip.allow is set to 2, don't check for loopback addressangelos2001-02-281-3/+4
| | | | | spoofing of encapsulated packets (useful for single-machinet testing of isakmpd)
* Lots and lots of changes.angelos2000-09-191-8/+42
|
* One parenthesis too many.angelos2000-08-041-2/+2
|
* Worked out the logic (thanks to pt98asp@student.hk-r.se andangelos2000-08-041-3/+4
| | | | | pt98kfr@student.hk-r.se -- I still don't know why rev1.5 didn't work).
* Back to the submitted patch -- this needs more investigation.angelos2000-08-031-3/+3
|
* In fact, this is the correct behaviour (or I'm going crazy).angelos2000-08-031-3/+3
|
* Correct handling of ip_off (askk@rsn.hk-r.se)angelos2000-08-031-2/+3
|
* try to cope with AH6 with scoped address case better.itojun2000-06-201-2/+9
|
* Typo.angelos2000-01-211-2/+2
|
* Rename the ip4_* routines to ipip_*, make it so GIF tunnels are notangelos2000-01-211-0/+655
affected by net.inet.ipip.allow (the sysctl formerly known as net.inet.ip4.allow), rename the VIF ipip_input to ipip_mroute_input.