summaryrefslogtreecommitdiffstats
path: root/sys/net/if_types.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove IPX over IP tunneling support, which allows IPX routing over IPrwatson2007-06-131-1/+1
| | | | | | | | | | tunnels, and was not MPSAFE. The code can be easily restored in the event that someone with an IPX over IP tunnel configuration can work with me to test patches. This removes one of five remaining consumers of NET_NEEDS_GIANT. Approved by: re (kensmith)
* Add a pseudo interface for packet filtering IPSec connections before or afterthompsa2006-06-261-0/+1
| | | | | | | | | | | encryption. There are two functions, a bpf tap which has a basic header with the SPI number which our current tcpdump knows how to display, and handoff to pfil(9) for packet filtering. Obtained from: OpenBSD Based on: kern/94829 No objections: arch, net MFC after: 1 month
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam
* Add hooks into the networking layer to support if_bridge. This changes structthompsa2005-06-051-0/+1
| | | | | | | ifnet so a buildworld is necessary. Approved by: mlaier (mentor) Obtained from: NetBSD
* Update refrenced URL for SNMP list of ifTypes to refer to iana.orgbrooks2005-05-281-1/+1
| | | | instead of a dead location on ftp.isi.edu.
* Add CARP (Common Address Redundancy Protocol), which allows multipleglebius2005-02-221-0/+1
| | | | | | | | | | | | | hosts to share an IP address, providing high availability and load balancing. Original work on CARP done by Michael Shalayeff, with many additions by Marco Pfatschbacher and Ryan McBride. FreeBSD port done solely by Max Laier. Patch by: mlaier Obtained from: OpenBSD (mickey, mcbride)
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Remove advertising clause from University of California Regent'simp2004-04-071-4/+0
| | | | | | | license, per letter dated July 22, 1999 and email from Peter Wemm, Alan Cox and Robert Watson. Approved by: core, peter, alc, rwatson
* Tweak existing header and other build infrastructure to be able to buildmlaier2004-02-261-0/+2
| | | | | | | pf/pflog/pfsync as modules. Do not list them in NOTES or modules/Makefile (i.e. do not connect it to any (automatic) builds - yet). Approved by: bms(mentor)
* use official # for IFT_STFume2003-10-261-1/+2
| | | | | | (are there any backward compat issue? i don't think so) Obtained from: KAME
* Add recently assigned interface types.yar2001-04-041-0/+7
| | | | Obtained from: ftp://ftp.isi.edu/in-notes/iana/assignments/smi-numbers
* Sync up to NetBSD, Step 2:yar2001-04-041-0/+136
| | | | | | Add the interface types 0x37 through 0xbd. Obtained from: NetBSD
* Sync up to NetBSD again, Step 1:yar2001-04-041-5/+5
| | | | | | | | | * Set the CSRG SCCS ID to the revision this file is actually based on (the file itself has been updated to Lite2 in rev. 1.4). * Fix some typos in comments. * Add a comment to the trailing #endif according to style(9)
* Fix if_types.h as per the IANA assignments with regard to IPv6.asmodai2000-07-281-4/+8
| | | | | | | | | | | | | | | gif/faith/stf moved to 0xfN entries, since their previous location is allocated to some other interfaces. Also add the IFT_PVC, which is the ATM PVC subinterface from ALTQ. This also syncs us up a bit to NetBSD again. This change requires a total recompilation of all kmem users, as itojun told me. Next in line is synching to the IANI SMI list. Approved by: itojun
* sync with kame tree as of july00. tons of bug fixes/improvements.itojun2000-07-041-0/+1
| | | | | | | API changes: - additional IPv6 ioctls - IPsec PF_KEY API was changed, it is mandatory to upgrade setkey(8). (also syntax change)
* KAME related header files additions and merges.shin1999-11-051-0/+2
| | | | | | | (only those which don't affect c source files so much) Reviewed by: cvs-committers Obtained from: KAME project
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fixed comment - IFT_P80 is 80mbit.dg1995-02-251-2/+2
| | | | Submitted by: frank@fwi.uva.nl (Frank van der Linden)
* Make idempotent.paul1994-08-211-1/+6
| | | | Submitted by: Paul
* Added $Id$dg1994-08-021-0/+1
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+95
OpenPOWER on IntegriCloud