Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-09-11 | KNF - return is not a function. | Jun-ichiro itojun Hagino | |
2002-07-03 | Change all variables definitions (int foo) in sys/sys/*.h to variable | Miod Vallat | |
declarations (extern int foo), and compensate in the appropriate locations. | |||
2002-06-30 | allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always know | Jun-ichiro itojun Hagino | |
the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach(). from netbsd. fgs ok | |||
2002-06-11 | splassert(IPL_SOFTNET) where comment indicate that. | Artur Grabowski | |
2002-06-08 | splnet -> splsoftnet where appropriate | Jun-ichiro itojun Hagino | |
2002-06-08 | more splnet protection to dom_ifattach | Jun-ichiro itojun Hagino | |
2002-06-08 | protect dom_ifattach by splnet | Jun-ichiro itojun Hagino | |
2002-05-30 | improve nd6_setmtu(), to warn too-small MTU on SIOCSIFMTU. sync w/kame | Jun-ichiro itojun Hagino | |
2002-05-29 | simplify comment, sync w/kame | Jun-ichiro itojun Hagino | |
2002-05-27 | if_attach() gets called before domaininit(). scan all interfaces for if_afdata | Jun-ichiro itojun Hagino | |
initialization after domaininit(). | |||
2002-05-27 | framework to add af-dependent data structure to struct ifnet. | Jun-ichiro itojun Hagino | |
as discussed at bsd-api-discuss. sync w/kame | |||
2002-04-24 | Initialize if_addrhooks in if_attachhead() like in if_attach(), either | Daniel Hartmeier | |
one may be called. | |||
2002-04-24 | Add hooks to struct ifnet that allow to register callbacks that will be | Daniel Hartmeier | |
notified of interface address changes. ok provos@, angelos@ | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2001-12-09 | Don't access the tq members directly, use the queue.h macros. Also, | Jason Wright | |
convert several of the loops to TAILQ_FOREACH. | |||
2001-06-29 | Move ifq_maxlen setting to if_attach(). Doing it at if_init() is wrong, | Federico G. Schwindt | |
and has been wrong since PnP devices (pcmcia, carbus, etc) shown up. If you forgot to set ifq_maxlen somewhere in the driver, you're gonna see baaaad things; jason@ ok, angelos@ "should be ok" , theo "don't understand why". | |||
2001-06-27 | ALTQ 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-22 | KNF | Theo de Raadt | |
2001-06-15 | change 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-08 | Move ifpromisc() from bpf.c to if.c, include cleanup. | Angelos D. Keromytis | |
2001-05-30 | Remove ipf. Darren Reed has interpreted his (old, new, whichever) | Theo de Raadt | |
licence in a way that makes ipf not free according to the rules we established over 5 years ago, at www.openbsd.org/goals.html (and those same basic rules govern the other *BSD projects too). Specifically, Darren says that modified versions are not permitted. But software which OpenBSD uses and redistributes must be free to all (be they people or companies), for any purpose they wish to use it, including modification, use, peeing on, or even integration into baby mulching machines or atomic bombs to be dropped on Australia. Furthermore, we know of a number of companies using ipf with modification like us, who are now in the same situation, and we hope that some of them will work with us to fill this gap that now exists in OpenBSD (temporarily, we hope). | |||
2001-02-20 | provide SIOC[SG]LIFPHYADDR, which greatly simplify userland manipulation. | Jun-ichiro itojun Hagino | |
sync with kame. old ioctls are kept but not really recommended. | |||
2001-02-13 | When detaching an interface set the if_start, if_ioctl and if_watchdog | Artur Grabowski | |
functions to 'nops'. Some protocols might want to output some packets while detaching and that could be a bad idea when the interface has gone away. Do we need to change more functions? | |||
2001-01-30 | change ip_compat.h to ip_fil_compat.h for clarity. Impending ipf merge | Kjell Wooding | |
2001-01-19 | pull 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. | |||
2001-01-17 | IPF 3.4.15. (IPv6 not working yet). | Federico G. Schwindt | |
Note: before building the userland part you need to do make includes. | |||
2000-10-07 | repair SIOCGIFP*ADDR. | Jun-ichiro itojun Hagino | |
2000-10-05 | there is no SIOCDIFPHYADDR in openbsd-current yet (in kame, there is) | Jun-ichiro itojun Hagino | |
2000-10-04 | make sure we have root priv on SIOCSIFPHY*. from thorpej@netbsd | Jun-ichiro itojun Hagino | |
2000-06-20 | Convert if_slowtimo to use new timeouts. | Artur Grabowski | |
2000-06-18 | increase my commit count by 1, because after telling niels three times that ↵ | Theo de Raadt | |
he has an indentation flaw, he has not fixed it, so i get a commit, thanks niels | |||
2000-06-17 | fix comments | Niels Provos | |
2000-06-17 | on ifconfig down ignore all routes pointing to the downed interface. | Niels Provos | |
okay itojun@ deraadt@ | |||
2000-05-05 | cope with interface detach (like pcmcia card removal). remove any | Jun-ichiro itojun Hagino | |
IPv6 addresses assigned to the interface. reported by ho, bunch of help from niklas. KAME PR 231. | |||
2000-03-22 | remove if_withname(), which was imported during KAME merge by mistake. | Jun-ichiro itojun Hagino | |
2000-03-21 | add SIOCGIFMTU/SIOCSIFMTU; remediate redundant code of tun, ppp, sppp; chris@ ok | Michael Shalayeff | |
2000-03-12 | remove redundant check against ifa_dstaddr. | Jun-ichiro itojun Hagino | |
2000-01-02 | do in6_if_up() at splsoftnet() instead of splimp(), permitting ↵ | Theo de Raadt | |
device-related interrupts during that time. It is believed this is safe | |||
1999-12-18 | ifdef myip_ifp (kernel/1014, thanks to dne@mayonnaise.net for testing | Angelos D. Keromytis | |
the patch) | |||
1999-12-08 | bring 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-11-20 | ioctl arguments are u_long. | Marc Espie | |
Replaces `undefined' code with `defined' behavior... gcc 2.96 performs switch cases range analysis, warns about unreachable cases, and weeds them out. In switch(i) { case VALUE: } VALUE is first coerced into the type of i. If i is signed, VALUE is unsigned and exceeds i range, you lose... the result of the conversion is undefined. | |||
1999-11-09 | Add SIOCSIFMEDIA and SIOCGIFMEDIA to the switch in ifioctl(). SIOCSIFMEDIA | Todd C. Miller | |
is only allowed if the user is the superuser. Aparently this got missed when the ifmedia support was added in ages ago. More or less based on how NetBSD does it (though it is rather obvious). | |||
1999-10-27 | move nat_ifdetach() after interface is removed from the list; ↵ | Theo de Raadt | |
avalon@coombs.anu.edu.au | |||
1999-08-08 | typo | Niklas Hallqvist | |
1999-08-08 | Support detaching of network interfaces. Still work to do in ipf, and | Niklas Hallqvist | |
other families than inet. | |||
1999-07-04 | fix unsigned without a size-type | Theo de Raadt | |
1998-08-05 | fix ifc_len == 0 hack for variable size structures. | Todd C. Miller | |
1998-08-04 | Add hack to SIOCGIFCONF where if ifc_len is 0, fill it in with the size ↵ | Todd C. Miller | |
needed and return; Linux does this too. Suggested by cmetz@inner.net | |||
1998-03-25 | add SIOCGIFDATA; fetches ifdata structure attached to each interface | Theo de Raadt | |
1997-12-31 | NULL is not 0 | Michael Shalayeff | |