summaryrefslogtreecommitdiffstats
path: root/sys/net/if_pair.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* this wasnt meant to be committed, back out for now.dlg2019-04-271-12/+16
|
* get rid of ifv_linkmib and a bunch of useless macrosdlg2019-04-271-16/+12
|
* Creating a cloned interface could return ENOMEM due to temporarybluhm2018-01-091-5/+2
| | | | | | memory shortage. As it is invoked from a system call, it should not fail and wait instead. OK visa@ mpi@
* Flag pseudo-interfaces as such in order to call add_net_randomness()mpi2017-01-231-1/+2
| | | | | | | | | only once per packet. Fix a regression introduced when if_input() started to be called by every pseudo-driver. ok claudio@, dlg@
* move counting if_opackets next to counting if_obytes in if_enqueue.dlg2017-01-221-2/+1
| | | | | | | 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@
* For virtual Ethernet drivers that don't have a technical limit of thereyk2016-11-291-2/+2
| | | | | | | | 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@
* We're always ready! So send IFQ_SET_READY() to the bitbucket.mpi2016-04-131-2/+1
|
* remove old lint annotationstedu2015-12-051-2/+1
|
* Add m_resethdr() to clear any state (pf, tags, flags) of an mbuf packet.reyk2015-10-301-3/+5
| | | | | | | Start using it in pair(4) to clear state on the receiving interface; m_resethdr() will also be used in other parts of the stack. OK bluhm@ mikeb@
* ifa is no longer used.mpi2015-10-251-2/+1
|
* arp_ifinit() is no longer required.mpi2015-10-251-3/+1
|
* Remove superfluous assignment.reyk2015-10-241-2/+1
| | | | Pointed out by and OK mikeb@
* Add pair(4), a vether-based virtual Ethernet driver to interconnectreyk2015-10-241-0/+293
rdomains and bridges on the local system. This can be used to route through local rdomains, to create L2 devices (like trunks) between them, and many other things. Discussed with many, with input from mpi@ OK sthen@ phessler@ yasuoka@ mikeb@