History log of /openbsd/sys/net/if.h (Results 76 – 100 of 217)
Revision Date Author Comments
# afb956e9 02-Apr-2013 mpi <mpi@openbsd.org>

Instead of storing the link-level address of every interface in a global
array indexed by interface numbers, add a new field to the interface
descriptor pointing to it.

claudio@ and todd@ like it, o

Instead of storing the link-level address of every interface in a global
array indexed by interface numbers, add a new field to the interface
descriptor pointing to it.

claudio@ and todd@ like it, ok mikeb@

show more ...


# dabd68ec 26-Mar-2013 mpi <mpi@openbsd.org>

Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.

ok beck@, mikeb@


# 73e65003 20-Mar-2013 mpi <mpi@openbsd.org>

Introduce if_get() to retrieve an interface descriptor pointer given
an interface index and replace all the redondant checks and accesses
to a global array by a call to this function.

With imputs fr

Introduce if_get() to retrieve an interface descriptor pointer given
an interface index and replace all the redondant checks and accesses
to a global array by a call to this function.

With imputs from and ok bluhm@, mikeb@

show more ...


# f1ce7fb5 07-Mar-2013 mpi <mpi@openbsd.org>

Remove unused ifa_ifwithaf() function.

ok mikeb@, miod@


# c405c1b9 07-Mar-2013 mpi <mpi@openbsd.org>

Remove the IFAFREE() macro, the ifafree() function it was calling already
check for the reference counter.

ok mikeb@, miod@, pelikan@, kettenis@, krw@


# a24e45cb 23-Nov-2012 sthen <sthen@openbsd.org>

Add SIOCGIFHARDMTU to allow retrieving the driver's maximum supported MTU
looks fine reyk@ ok mikeb@


# 71826546 11-Nov-2012 deraadt <deraadt@openbsd.org>

align ifaliasreq.ifra_addr similar to the way that ifreq is fixed --
a gruesome union, to block the compiler from placing the struct
incorrectly aligned on stack frames
ok guenther


# 2d18ef82 05-Oct-2012 camield <camield@openbsd.org>

Point an interface directly to its bridgeport configuration, instead
of to the bridge itself. This is ok, since an interface can only be part
of one bridge, and the parent bridge is easy to find fro

Point an interface directly to its bridgeport configuration, instead
of to the bridge itself. This is ok, since an interface can only be part
of one bridge, and the parent bridge is easy to find from the bridgeport.

This way we can get rid of a lot of list walks, improving performance
and shortening the code.

ok henning stsp sthen reyk

show more ...


# 86ffe9aa 19-Sep-2012 henning <henning@openbsd.org>

defina an IFCAP_CSUM_MASK, covering IFCAP_CSUM_*, and use it in if_vlan.c
to replace the list of them.
this actually makes vlan inherit the IPv6 CSUM flags from it's parent, that
had been commented o

defina an IFCAP_CSUM_MASK, covering IFCAP_CSUM_*, and use it in if_vlan.c
to replace the list of them.
this actually makes vlan inherit the IPv6 CSUM flags from it's parent, that
had been commented out since this code was committed back in 2001.
ok benno mpf

show more ...


# 137c13f2 10-Sep-2012 guenther <guenther@openbsd.org>

Bring into compliance with POSIX, exposing just the specified bits.

Requested by jasper@, ok kettenis@


# c653e3cb 21-Aug-2012 bluhm <bluhm@openbsd.org>

Reverse the name and meaning of the IFXF_INET6_PRIVACY interface
flag. It is now called IFXF_INET6_NOPRIVACY. So IPv6 privacy
addresses are on by default without resetting the flag during
ifconfig

Reverse the name and meaning of the IFXF_INET6_PRIVACY interface
flag. It is now called IFXF_INET6_NOPRIVACY. So IPv6 privacy
addresses are on by default without resetting the flag during
ifconfig down/up.
OK stsp@, sperreault@ (who wrote the same diff)

show more ...


# aa22e115 02-Dec-2011 haesbaert <haesbaert@openbsd.org>

Kill unused IFCAP_IPSEC and IFCAP_IPCOMP.

ok claudio@ henning@ mikeb@


# 9779e442 02-Nov-2011 haesbaert <haesbaert@openbsd.org>

Expose if_capabilities to userland so that ifconfig can display the
device hardware features.
Tune ifconfig to show them with 'hwfeatures' argument.
While here, kill some old unused capabilities and

Expose if_capabilities to userland so that ifconfig can display the
device hardware features.
Tune ifconfig to show them with 'hwfeatures' argument.
While here, kill some old unused capabilities and respect 80 columns
in brconfig.h.

ok mcbride@, henning@, mpf@.

show more ...


# fca02781 07-Oct-2011 henning <henning@openbsd.org>

rename some vars and functions
unfortunately altq is one giant namespace violation. rename just those that
conflict with new stuff for now only to be found on my laptop. reduce pain,
the diff is huge

rename some vars and functions
unfortunately altq is one giant namespace violation. rename just those that
conflict with new stuff for now only to be found on my laptop. reduce pain,
the diff is huge already. ok ryan

show more ...


# 138bf19b 08-Jul-2011 henning <henning@openbsd.org>

new priority queueing implementation, extremely low overhead, thus fast.
unconditional, always on. 8 priority levels, as every better switch, the
vlan header etc etc. ok ryan mpf sthen, pea tested as

new priority queueing implementation, extremely low overhead, thus fast.
unconditional, always on. 8 priority levels, as every better switch, the
vlan header etc etc. ok ryan mpf sthen, pea tested as well

show more ...


# 8e4e4eed 07-Jul-2011 henning <henning@openbsd.org>

provide IF_LEN and IFQ_LEN to access ifq_len on an ifqueue, ryan ok


# 063315ff 05-Jul-2011 henning <henning@openbsd.org>

now of course I only noticed if_qflush is completely unused after
adjusting it to the new world order in my tree... remove it, ok ryan claudio


# 0379d3d3 03-Jul-2011 henning <henning@openbsd.org>

IFQ_CLASSIFY is also just schrapnel


# 125e5565 03-Jul-2011 henning <henning@openbsd.org>

no traces of ALTQ_DECL to be found anywhere, thus kill the #defines


# 9bc26c9b 03-Jul-2011 claudio <claudio@openbsd.org>

LINK_STATE_IS_UP() should consider LINK_STATE_UNKNOWN as an up state.
This is now possible because carp no longer uses LINK_STATE_UNKNOWN
for a state that is considered down. This will simplify a lot

LINK_STATE_IS_UP() should consider LINK_STATE_UNKNOWN as an up state.
This is now possible because carp no longer uses LINK_STATE_UNKNOWN
for a state that is considered down. This will simplify a lot of code.
OK mpf@ mcbride@ henning@

show more ...


# 2498cf63 13-Mar-2011 stsp <stsp@openbsd.org>

Add a way to enable/disable Wake On LAN with ifconfig.
ok deraadt


# ca56b946 17-Nov-2010 henning <henning@openbsd.org>

introduce ifa_update_broadaddr to update an ifaddr's broadcast address,
trivial for the moment, more needed soon
tested by many as part of a larger diff, ok sthen claudio dlg krw


# c6e14be5 24-Sep-2010 claudio <claudio@openbsd.org>

Implement if_freenameindex() as a real function as required by posix.
OK deraadt@, millert@


# 31e65474 23-Sep-2010 dlg <dlg@openbsd.org>

tweak the mclgeti algorithm to behave better under load.

instead of letting hardware rings grow on every interrupt, restrict
it so it can only grow once per softclock tick. we can only punish
the ri

tweak the mclgeti algorithm to behave better under load.

instead of letting hardware rings grow on every interrupt, restrict
it so it can only grow once per softclock tick. we can only punish
the rings on softclock ticks, so it make sense to only grow on
softclock tick boundaries too.

the rings are now punished after >1 lost softclock tick rather than
>2. mclgeti is now more aggressive at detecting livelock.

the rings get punished by an 8th, rather than by half.

we now allow the rings to be punished again even if the system is
already considered in livelock.

without this diff a livelocked system will have its rx ring sizes
scale up and down very rapidly, while holding the rings low for too
long. this affected throughput significantly.

discussed and tested heavily at j2k10. there are still some games
with softnet we can play, but this is a good first step.

"put it in" and ok deraadt@
ok claudio@ krw@ henning@ mcbride@

if we find out that it sucks we can pull it out again later. till then
we'll run with it and see how it goes.

show more ...


# f110151d 27-Aug-2010 jsg <jsg@openbsd.org>

remove the unused if_init callback in struct ifnet
ok deraadt@ henning@ claudio@


123456789