summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2020-01-25move the SMR_LIST_REMOVE and smr_barrier up in tun_clone_destroy.David Gwynne
2020-01-25tweaks sleeping for an mbuf so it's more mpsafe.David Gwynne
2020-01-25use SMRs to find the right tun_softc on syscall entries.David Gwynne
2020-01-25rework the driver to better manage lifetimes and device lifetimes.David Gwynne
2020-01-24add pf.h include for NPF > 0 use added in rev 1.71Jonathan Gray
2020-01-24cleanup unused headers generated by configJonathan Gray
2020-01-24move to if_vinput() in tun_dev_write.David Gwynne
2020-01-24provide a tun_input() interface input handler for tun(4) packets.David Gwynne
2020-01-24change tun_dev_write to allocate one mbuf and cluster for the whole packet.David Gwynne
2020-01-23simplify the uiomove loop in tun_dev_read.David Gwynne
2020-01-23don't need to manage TUN_NBIO ourselves, we get IO_NDELAY for free.David Gwynne
2020-01-23provide a custom if_enqueue handler.David Gwynne
2020-01-23remove IFCAP_VLAN_MTU from tap(4). it's a lie.David Gwynne
2020-01-23unify the tun and tap output and read behaviour.David Gwynne
2020-01-23mild whitespace massaging. no functional change.David Gwynne
2020-01-23don't prototype the cdev entrypoints, sys/conf.h already does it.David Gwynne
2020-01-23remove PIPEX from tun(4) now that pppac(4) should be used instead.David Gwynne
2020-01-23fix some ioctl/kq weirdness in the pppx(4) side of things.David Gwynne
2020-01-22add pppac(4) code for a dedicated PPP Access Concentrator interface.David Gwynne
2020-01-08Check address family of pf ioctl(2) DIOCNATLOOK parameter at kernelAlexander Bluhm
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andVisa Hankala
2020-01-08Fix confusion around rtlabelid and rtableid in rt_ifa_add() and rt_ifa_del().Claudio Jeker
2020-01-08In loop_clone_destroy() reset the rdomain with rtable_l2set() afterClaudio Jeker
2020-01-02Switch bpf to use pgsigio(9) and sigio_init(9) instead of handrollingClaudio Jeker
2020-01-02Switch tun(4) and tap(4) to use pgsigio(9) and sigio_init(9) forClaudio Jeker
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-23when aggr(4) comes up, check port link state to push the rxm forward.David Gwynne
2019-12-19poll handlers must return a poll(2) revents value, not errno(2) values.Reyk Floeter
2019-12-15Add a missing unlock.Visa Hankala
2019-12-11use sockaddr_storage to store the address used to generate mcast entries.David Gwynne
2019-12-06when copying capabilities from the first port to a trunk, copy hardmtu too.David Gwynne
2019-11-27use correct forward type declaration from uvm.Bob Beck
2019-11-27OpenFlow 1.3 defines packet header patterns of interest using TLVs (OXMs)akoshibe
2019-11-26Use proper NUL byte not zero with stringskn
2019-11-26fix kernel crash in pf_ioctl with WITH_PF_LOCK and NET_TASKQ > 1Alexandr Nedvedicky
2019-11-26s/sc_arpcom/sc_ac/ to be consistent with other drivers.David Gwynne
2019-11-26use "sc" as the name of tun_softc variables, not "tp".David Gwynne
2019-11-24If the RTM_PROPOSAL is a solicitation proposal forward the request toClaudio Jeker
2019-11-24Make it possible to call ether_rtrequest with a NULL rt argument.Claudio Jeker
2019-11-23Move srtdnstosa() static inline function under #ifdef _KERNEL. This wayClaudio Jeker
2019-11-22The DNS proposal list can (soon) be empty to signal a withdraw, relaxFlorian Obser
2019-11-22Add rtm_proposal, a function to send out RTM_PROPOSAL messages from theClaudio Jeker
2019-11-21Fix comment typo: specificationakoshibe
2019-11-21rename struct tun_softc members so they're prefixed with "sc".David Gwynne
2019-11-21Remove duplicate #define OFP_ALIGNMENTakoshibe
2019-11-19take care to avoid a race when creating the same interface.David Gwynne
2019-11-18don't leak the the task struct used for the addrhook in pfi_detach_ifnet.David Gwynne
2019-11-17"set delay" never worked as committed: the delay field was not copiedOtto Moerbeek
2019-11-14avoid a use after free in if_delgroup.David Gwynne
2019-11-13Non root user must not use ioctl(2) to mess around with the addressAlexander Bluhm