#
e8ee43aa |
| 28-Aug-2020 |
mvs <mvs@openbsd.org> |
Add missing #if's to fix build without bpf(4).
ok deraadt@
|
#
0e70c421 |
| 21-Aug-2020 |
kn <kn@openbsd.org> |
Leave default ifq_maxlen handling to ifq_init()
Most clonable interface drivers (except bridge, enc, loop, pppx, switch, trunk and vlan) initialise the send queue's length to IFQ_MAXLEN during *_clo
Leave default ifq_maxlen handling to ifq_init()
Most clonable interface drivers (except bridge, enc, loop, pppx, switch, trunk and vlan) initialise the send queue's length to IFQ_MAXLEN during *_clone_create() even though ifq_init(), which is eventually called through if_attach(), does the same.
Remove all early "ifq_set_maxlen(&ifq->if_snd, IFQ_MAXLEN);" lines to leave it to ifq_init() and have clonable drivers a tad more in sync.
OK mvs
show more ...
|
#
d8baefb3 |
| 09-Aug-2020 |
mvs <mvs@openbsd.org> |
vether(4) is pretty dummy. It contains nothing requires to be protected. So set `IFXF_MPSAFE' bit. This allows to discard outgoing packets without kernel lock.
ok kn@
|
#
b5aed6b3 |
| 28-Jul-2020 |
mvs <mvs@openbsd.org> |
Add missing `IFXF_CLONED' flag to clone interfaces.
ok mpi@
|
#
0cae21bd |
| 10-Jul-2020 |
patrick <patrick@openbsd.org> |
Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.
ok dlg@ tobhe@
|
#
63bcfa73 |
| 10-Jul-2020 |
patrick <patrick@openbsd.org> |
Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use the "new" API.
ok dlg@ tobhe@
|
#
809d3a3e |
| 09-Jan-2018 |
bluhm <bluhm@openbsd.org> |
Creating a cloned interface could return ENOMEM due to temporary memory shortage. As it is invoked from a system call, it should not fail and wait instead. OK visa@ mpi@
|
#
88a08f2a |
| 22-Jan-2017 |
dlg <dlg@openbsd.org> |
move counting if_opackets next to counting if_obytes in if_enqueue.
this means packets are consistently counted in one place, unlike the many and various ways that drivers thought they should do it.
move counting if_opackets next to counting if_obytes in if_enqueue.
this means packets are consistently counted in one place, unlike the many and various ways that drivers thought they should do it.
ok mpi@ deraadt@
show more ...
|
#
fc3b235f |
| 29-Nov-2016 |
reyk <reyk@openbsd.org> |
For virtual Ethernet drivers that don't have a technical limit of the hardmtu, pick a value of 65435 that leaves space for some encapsulation and almost a complete max-IP packet. After some discussi
For virtual Ethernet drivers that don't have a technical limit of the hardmtu, pick a value of 65435 that leaves space for some encapsulation and almost a complete max-IP packet. After some discussion we picked this arbitrary value.
OK dlg@
show more ...
|
#
74c556f6 |
| 13-Apr-2016 |
mpi <mpi@openbsd.org> |
We're always ready! So send IFQ_SET_READY() to the bitbucket.
|
#
acbf7ea1 |
| 05-Dec-2015 |
tedu <tedu@openbsd.org> |
remove old lint annotations
|
#
60e40e7b |
| 25-Oct-2015 |
mpi <mpi@openbsd.org> |
arp_ifinit() is no longer required.
|
#
38dfad8c |
| 23-May-2015 |
mpi <mpi@openbsd.org> |
Pass output packets to bpf(4). This is helpful when debugging stack issues.
ok reyk@
|
#
21dab745 |
| 14-Mar-2015 |
jsg <jsg@openbsd.org> |
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
#
ad7d1a35 |
| 19-Dec-2014 |
tedu <tedu@openbsd.org> |
unifdef INET in net code as a precursor to removing the pretend option. long live the one true internet. ok henning mikeb
|
#
ac3ba07e |
| 23-Nov-2014 |
deraadt <deraadt@openbsd.org> |
length argument for some free() calls; ok doug
|
#
dd168dc2 |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis.
|
#
449d7f1a |
| 19-Oct-2013 |
mpi <mpi@openbsd.org> |
Uniformize drivers doing nothing with their multicast filters to make them ignore the SIOC{ADD,DEL}MULTI ioctls.
ok reyk@, claudio@
|
#
1a83ae42 |
| 28-Mar-2013 |
tedu <tedu@openbsd.org> |
no need for a lot of code to include proc.h
|
#
dabd68ec |
| 26-Mar-2013 |
mpi <mpi@openbsd.org> |
Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.
ok beck@, mikeb@
|
#
3b366097 |
| 22-Jul-2011 |
deraadt <deraadt@openbsd.org> |
use ifmedia_delete_instance() when destroying a vether from Martin Pelikan
|
#
44cda32f |
| 02-Apr-2010 |
deraadt <deraadt@openbsd.org> |
ugly spacing
|
#
b53a3dc4 |
| 02-Apr-2010 |
stsp <stsp@openbsd.org> |
Special-case SIOCADDMULTI and SIOCDELMULTI ioctls, based on code from if_tun. Makes IPv6 work with if_vether.
ok deraadt
|
#
030bc915 |
| 02-Apr-2010 |
deraadt <deraadt@openbsd.org> |
allow this to compile in the never-gonna-happen world without INET
|
#
af7cd8fa |
| 23-Mar-2010 |
dlg <dlg@openbsd.org> |
dont maintain a list of vether devices inside the driver if they are never looked up. can vether get any smaller?
ok deraadt@ claudio@
|