summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2021-03-26Push kernel lock within rtable_add(9) and rework it to return 0 in themvs
2021-03-20RFC 8981 allows the configuration of only temporary IPv6 addresses.Florian Obser
2021-03-18When changing the link local address send a RTM_IFINFO message out.Claudio Jeker
2021-03-18Do not call rtm_ifchg() if IFF_UP changed. The code in if_up() and if_down()Claudio Jeker
2021-03-11There is no need to try to attach IPv6 to an interface when theFlorian Obser
2021-03-11If the AUTOCONF4 or AUTOCONF6 flags get enabled, force the interface up.Theo de Raadt
2021-03-10spellingJonathan Gray
2021-03-09Shorten the if_cloners_lock name preventing it from being truncated inanton
2021-02-20add p2p_input, like ether_input but for l3 tunnel interfaces.David Gwynne
2021-02-20default interfaces to bpf_mtap_ether for their if_bpf_mtap handler.David Gwynne
2021-02-20add a MONITOR flag to ifaces to say they're only used for watching packets.David Gwynne
2021-02-11We link `ifp' to `if_list' before we perform if_attachsetup(). It is notmvs
2021-02-10Interface group names must fit into IFNAMSIZ and be unique. ButAlexander Bluhm
2021-02-08Start refcounting interface groups with 1. if_creategroup() returnsAlexander Bluhm
2021-02-01ifunit() was fully replaced by if_unit(9) and should go away.mvs
2021-01-18Introduce new function if_unit(9). This function returns a pointer themvs
2021-01-09Syzkaller has found a stack overflow in socket splicing. BroadcastAlexander Bluhm
2021-01-04Process pppoe(4) packets directly, do not queue through netiskn
2021-01-04Remove kernel lock from pppoe(4) input pathkn
2020-12-15clear M_TIMESTAMP in if_enqueue.David Gwynne
2020-10-03Introduce `if_cloners_lock' rwlock and use it to serializemvs
2020-08-19Allow SIOCSWGDPID and SIOCSWGMAXFLOW ioctls for non-rootkn
2020-08-05Revert r1.614 of net/if.c. Modifications of `ifnet' list must still bemvs
2020-08-04We have `pipexinq' and `pipexoutq' mbuf(9) queues to store pipex(4)mvs
2020-07-24Use interface index instead of pointer to `ifnet' in carp(4).mvs
2020-07-22deprecate interface input handler lists, just use one input function.David Gwynne
2020-07-20Move insertions to `if_list' out of NET_LOCK() because KERNEL_LOCK()mvs
2020-07-17Check destruction ability before search instance of clone interface.mvs
2020-07-10Change users of IFQ_PURGE() to use the "new" API.Patrick Wildt
2020-06-30Add size to free(9) callkn
2020-06-22The interface if_ioctl routine must be called with the NET_LOCK() held.Claudio Jeker
2020-06-22deprecate network livelock detection using the softclock.David Gwynne
2020-06-21add wg(4), an in kernel driver for WireGuard vpn communication.David Gwynne
2020-06-17make ph_flowid in mbufs 16bits by storing whether it's set in csum_flags.David Gwynne
2020-05-29dev/rndvar.h no longer has statistical interfaces (removed during variousTheo de Raadt
2020-05-27Document the various flavors of NET_LOCK() and rename the reader version.Martin Pieuchot
2020-05-26Extract more randomness from mbuf flowVisa Hankala
2020-04-12make ifpromisc assert that the caller is holding the NET_LOCK.David Gwynne
2020-04-11Grab the exclusive NET_LOCK() in the softnet thread.Martin Pieuchot
2020-03-10Properly exit loop at end of hooks TAILQ.tobhe
2020-01-24cleanup unused headers generated by configJonathan Gray
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
2019-11-13unbreak ramdisksTheo de Raadt
2019-11-12check for privileged bridges ioctls next to the other privileged ioctls.David Gwynne
2019-11-12SIOCDVNETID mutates state, so should only be run by root.David Gwynne
2019-11-11add linkstate hooks at the head of the tailq.David Gwynne
2019-11-09whitespace fixes, no functional change.David Gwynne
2019-11-08convert interface address change hooks to tasks and a task_list.David Gwynne
2019-11-07serialise hook adds and dels with a mutex instead of an implicit NET_LOCK.David Gwynne