History log of /openbsd/sys/net/if.h (Results 126 – 150 of 217)
Revision Date Author Comments
# 3419af4e 03-Sep-2007 claudio <claudio@openbsd.org>

Bump RTM_VERSION to 4 and start a new aera of routing in OpenBSD :)
Changes include 64bit counters instead of u_long, routing table id in the header
of most messages, reserved routing priority field,

Bump RTM_VERSION to 4 and start a new aera of routing in OpenBSD :)
Changes include 64bit counters instead of u_long, routing table id in the header
of most messages, reserved routing priority field, added a hdrlen field to skip
over the header so that binary compatibility becomes easier.
A minimal backward support for old binaries is included to ease upgrades but
don't expect anything more than ifconfig, route and dhclient to correctly work.
OK henning@ mglocker@

show more ...


# 8670f21f 25-Jun-2007 henning <henning@openbsd.org>

crank ifq_maxlen from 50 to 256, so it is not smaller than most interfaces
rx rings any more. forwarding boxes with many fast interfaces can still use
some more, but this is a saner default.
ok deraa

crank ifq_maxlen from 50 to 256, so it is not smaller than most interfaces
rx rings any more. forwarding boxes with many fast interfaces can still use
some more, but this is a saner default.
ok deraadt markus henric

show more ...


# 8a84aeaf 14-Jun-2007 reyk <reyk@openbsd.org>

Add a new "rtlabel" option to ifconfig. It allows to specify a route label
which will be used for new interface routes. For example,
ifconfig em0 10.1.1.0 255.255.255.0 rtlabel RING_1
will set the n

Add a new "rtlabel" option to ifconfig. It allows to specify a route label
which will be used for new interface routes. For example,
ifconfig em0 10.1.1.0 255.255.255.0 rtlabel RING_1
will set the new interface address and attach the route label RING_1 to
the corresponding route.

manpage bits from jmc@
ok claudio@ henning@

show more ...


# 447e7136 29-May-2007 uwe <uwe@openbsd.org>

Define IF_ENQUEUE() and friends as proper C statements using do ... while
ok henning


# 72dd6adc 26-May-2007 jason <jason@openbsd.org>

one extern seems to be better than 20 for ifqmaxlen; ok krw


# 0a71aeca 27-Mar-2007 jmc <jmc@openbsd.org>

grammar from bret lambert, and one more from me;


# 67e4e6f3 09-Feb-2007 jmc <jmc@openbsd.org>

grammar fix from bret lambert;


# 30762738 28-Nov-2006 reyk <reyk@openbsd.org>

add additional link states to report the half duplex / full duplex
state, if known by the driver. this is required to check the full
duplex state without depending on the ifmedia ioctl which can't be

add additional link states to report the half duplex / full duplex
state, if known by the driver. this is required to check the full
duplex state without depending on the ifmedia ioctl which can't be
called in the kernel without process context.

ok henning@, brad@

show more ...


# ac0bcce4 16-Nov-2006 henning <henning@openbsd.org>

introduce if_creategroup() to create an empty interface group.
code factored out from if_addgroup(), previously a group always had to have
members. ok mpf mcbride


# 87375409 31-Oct-2006 jason <jason@openbsd.org>

ether_input_mbuf() isn't necessary, turn it into a macro and deal with
it's "special" case in ether_input(). Based on similiar idea in FreeBSD.
ok brad


# 432c8a10 02-Jun-2006 mpf <mpf@openbsd.org>

Introduce attributes to interface groups.
As a first user, move the global carp(4) demotion counter
into the interface group. Thus we have the possibility
to define which carp interfaces are demoted

Introduce attributes to interface groups.
As a first user, move the global carp(4) demotion counter
into the interface group. Thus we have the possibility
to define which carp interfaces are demoted together.

Put the demotion counter into the reserved field of the carp header.
With this, we can have carp act smarter if multiple errors occur.
It now always takes over other carp peers, that are advertising
with a higher demote count. As a side effect, we can also have
group failovers without the need of running in preempt mode.
The protocol change does not break compability with older
implementations.

Collaborative work with mcbride@

OK mcbride@, henning@

show more ...


# 3f040b3e 27-May-2006 brad <brad@openbsd.org>

remove IFCAP_JUMBO_MTU interface capabilities flag and set if_hardmtu in a few
more drivers.

ok reyk@


# 04100db4 26-May-2006 deraadt <deraadt@openbsd.org>

rename jumbo mtu to if_hardmtu; ok brad reyk


# dc951354 19-May-2006 reyk <reyk@openbsd.org>

add a if_jumbo_mtu field to the interface structure for drivers
supporting ethernet jumbo frames. there's no standard for the size of
jumbo MTUs, so either let the driver set it's own value or use 90

add a if_jumbo_mtu field to the interface structure for drivers
supporting ethernet jumbo frames. there's no standard for the size of
jumbo MTUs, so either let the driver set it's own value or use 9000
byte jumbo frames by default.

ok brad@

show more ...


# aaed91e5 04-Mar-2006 brad <brad@openbsd.org>

With the exception of two other small uncommited diffs this moves
the remainder of the network stack from splimp to splnet.

ok miod@


# 12ec3b84 09-Feb-2006 reyk <reyk@openbsd.org>

add an interface detach hook and use it with the vlan(4) driver. this
fixes a possible crash if the parent interface has been destroyed
(like vlan on trunk) before destroying the vlan interface.

ok

add an interface detach hook and use it with the vlan(4) driver. this
fixes a possible crash if the parent interface has been destroyed
(like vlan on trunk) before destroying the vlan interface.

ok brad@

show more ...


# 5de816e9 14-Jun-2005 henning <henning@openbsd.org>

rename function and define to reflect the external -> egress name change
so it is clear what it is all about


# ae26fbcc 14-Jun-2005 henning <henning@openbsd.org>

use "egress" instead of "external" for the interface group containing the
interfaces the default route(s) point to, proposed deraadt some days ago,
ok djm deraadt


# 16ffd98b 12-Jun-2005 henning <henning@openbsd.org>

add SIOCGIFGMEMB ioctl, returns a list of all interfaces who are member of
the given group, markus ok


# a28f4c99 07-Jun-2005 henning <henning@openbsd.org>

introduce a default "external" interface group, containing the interface(s)
the the default route(s) point to.
handles IPv4 and IPv6 as well as multipath routes.
follows default route changes, of cou

introduce a default "external" interface group, containing the interface(s)
the the default route(s) point to.
handles IPv4 and IPv6 as well as multipath routes.
follows default route changes, of course.
eases writing pf rulesets especially on laptops etc. that use different
interfaces depending on the environment (wired, wireless, ...)
ok theo ryan

show more ...


# 21f53c86 06-Jun-2005 henning <henning@openbsd.org>

use a define instead of hardcoding "all" in 3 places


# 9c8b1f00 05-Jun-2005 henning <henning@openbsd.org>

const'ify the char *groupname param to if_addgroup and if_delgroup


# 10c1d3ac 24-May-2005 markus <markus@openbsd.org>

add net.inet.ip.ifq for monitoring and changing ifqueue; similar to netbsd
ok henning


# 1daccd23 24-May-2005 reyk <reyk@openbsd.org>

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, der

initial import of a trunking (link aggregation and link failover)
implementation. it currently supports round robin mode with link state
checking, additional modes will be added later.

ok brad@, deraadt@

show more ...


# 33ca38ed 24-May-2005 henning <henning@openbsd.org>

keep a list of member interfaces in ifg_group


123456789