summaryrefslogtreecommitdiffstats
path: root/sys/net/switchctl.c
AgeCommit message (Expand)AuthorFilesLines
2020-04-07Abstract the head of knote lists. This allows extending the lists,visa1-4/+4
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowvisa1-3/+3
2020-01-28Simplify filterops routines where klist_invalidate() is used.visa1-12/+1
2019-12-31Use C99 designated initializers with struct filterops. In addition,visa1-5/+12
2019-12-19poll handlers must return a poll(2) revents value, not errno(2) values.reyk1-2/+2
2019-10-16tsleep(9) -> tsleep_nsec(9)mpi1-2/+3
2019-05-12pushing NET_LOCK() further down from if_clone_{create,destroy}()sashan1-3/+1
2018-12-28Fix mbuf releated crashes in switch(4). They have been found bybluhm1-2/+4
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forclaudio1-3/+3
2017-08-11Remove NET_LOCK()'s argument.mpi1-3/+3
2017-01-16Fix declaration: vsw_dev2sc has been renamed to switch_dev2sc.reyk1-2/+2
2016-12-22Grab the netlock when device is opened; ok mpi, rzalamenamikeb1-3/+3
2016-12-12Remove most of the splsoftnet() recursions related to cloned interfaces.mpi1-3/+6
2016-11-11Remove mutexes protection from the switchctl as they don't seem to berzalamena1-10/+1
2016-11-10Add support for partial writes in switchwrite so we can use multiplerzalamena1-24/+81
2016-11-09Simplify the switchread loop and fix the case where only first mbuf inrzalamena1-23/+25
2016-11-08Teach switch(4) device read(2) operations to behave like a stream socket,rzalamena1-7/+37
2016-09-04When auto-creating an interface when opening a /dev/{tun,tap,switch}reyk1-2/+5
2016-09-04Do "goto failed" in case returning EAGAIN as well.yasuoka1-3/+3
2016-09-03Fixed missing null check in switchctl.cgoda1-8/+25
2016-09-01Import switch(4), an in-kernel OpenFlow switch which can work alone.goda1-0/+375