summaryrefslogtreecommitdiff
path: root/sys/net/if.h
AgeCommit message (Collapse)Author
2002-05-27if_attach() gets called before domaininit(). scan all interfaces for if_afdataJun-ichiro itojun Hagino
initialization after domaininit().
2002-05-27framework to add af-dependent data structure to struct ifnet.Jun-ichiro itojun Hagino
as discussed at bsd-api-discuss. sync w/kame
2002-04-24Add hooks to struct ifnet that allow to register callbacks that will beDaniel Hartmeier
notified of interface address changes. ok provos@, angelos@
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-23compatability -> compatibility.Federico G. Schwindt
2001-07-05KNFAngelos D. Keromytis
2001-07-05Include files for IPComp support. angelos@ ok.Jean-Jacques Bernard-Gundol
2001-06-27ALTQ base modifications to the kernel.Kenjiro Cho
- ALTQ introduces a set of new queue macros that coexist with the traditional IF_XXX macros. - "struct ifaltq" replaces "struct ifqueue" in "struct ifnet". - assign cdev major 74 for i386 and 54 for alpha as ALTQ control interface.
2001-06-23Add ether_input_mbuf to help us remove the ether_header fromFederico G. Schwindt
ether_input; all drivers should start migrating to this. Discussed with jason@, deraadt@ more or les ok'ed.
2001-06-15change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.Jun-ichiro itojun Hagino
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only). was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed.
2001-06-09By popular demand, protect from multiple inclusion, and fix to use theAngelos D. Keromytis
same naming style.
2001-05-28IPSECv4 -> IPSECAngelos D. Keromytis
2001-05-28No need for separate ESP/AH interface capabilities.Angelos D. Keromytis
2001-05-28Interface capabilities (based on NetBSD, but merge ethercom and ifnetAngelos D. Keromytis
capabilities into one, in the ifp).
2001-02-06allow changing number of loopbacks in ukc.Michael Shalayeff
change rest of the code to use lo0ifp pointing to the corresponding struct ifnet. itojun@ and niklas@ ok
2001-01-19pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).Jun-ichiro itojun Hagino
have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument. pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest. 3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr * (almost noone is using it anyways). benefit: the follwoing command now works. previously we need two route(8) invocations, "add" then "change". # route add -inet6 default ::1 -ifp gif0 remove unsafe typecast in rtrequest(), from rtentry * to sockaddr *. it was introduced by 4.3BSD-reno and never corrected. XXX is eon_rtrequest() change correct regarding to 3rd arg? eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno, so i do not have correct answer in the source code. someone with more clue about netiso-over-ip, please help.
2000-09-20Since ifa_refcnt was bumped to an int and rt_flags is an int too, bumpArtur Grabowski
ifa_flags to int.
2000-08-28changing the size of if_data has heavy impact on userland compat. thereTheo de Raadt
was even a u_char slot available for ifi_link_state, which clearly does not need a full 32 bits.
2000-08-26sync mii code with netbsdNathan Binkert
adds detach functionality for phys some code cleanup Nobody really had time to test all of this out, but theo said commit anyway
2000-03-22remove if_withname(), which was imported during KAME merge by mistake.Jun-ichiro itojun Hagino
2000-03-21add SIOCGIFMTU/SIOCSIFMTU; remediate redundant code of tun, ppp, sppp; chris@ okMichael Shalayeff
2000-02-02wrap IFAFREE() by "do {} while (0)". it wasn't safe enough.Jun-ichiro itojun Hagino
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).
1999-08-08Support detaching of network interfaces. Still work to do in ipf, andNiklas Hallqvist
other families than inet.
1999-06-23Added some protocol independent interfaces (supposedly IPv6 support APIs, butcmetz
ones that are useful for all protocols, not just IPv6).
1999-03-13make ifa_refcnt a u_int; andrewb@demon.netTheo de Raadt
1999-02-26Ethernet bridge/IP firewall driver.Jason Wright
1999-01-07fix IFAFREE() to be safe for if/else nestingTheo de Raadt
1998-09-03o OpenBSD gets if_media support (from NetBSD)Jason Wright
o rework/simplify if_xl to use it
1996-07-02-Wall & -Wstrict-prototype fixesNiklas Hallqvist
1996-06-29provide if_attachhead(), and make if_loop use itTheo de Raadt
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-05-06if.h was missed from the commit.Michael Shalayeff
if_ethersubr.c: missed variables added.
1996-03-05Changes for ifconfig to compile.Michael Shalayeff
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt