summaryrefslogtreecommitdiff
path: root/sys/net/if_bridge.c
AgeCommit message (Expand)Author
2023-05-16Use separate IFCAPs for LRO and TSO.Jan Klemkow
2023-05-13Instead of implementing IPv4 header checksum creation everywhere,Alexander Bluhm
2023-05-07I preparation for TSO in software, cleanup the fragment code. UseAlexander Bluhm
2023-02-27Turn off TSO if interface is added to layer 2 devices.Jan Klemkow
2022-08-07Fix fallout from netlock removal in media ioctl. The bridge doesAlexander Bluhm
2022-01-04Add `ipsec_flows_mtx' mutex(9) to protect `ipsp_ids_*' list andYASUOKA Masahiko
2021-12-23IPsec is not MP safe yet. To allow forwarding in parallel withoutAlexander Bluhm
2021-12-03Add TDB reference counting to ipsp_spd_lookup(). If an outputAlexander Bluhm
2021-12-01Let ipsp_spd_lookup() return an error instead of a TDB. The TDBAlexander Bluhm
2021-11-25Implement reference counting for IPsec tdbs. Not all cases areAlexander Bluhm
2021-11-11Do not call ip_deliver() recursively from IPsec. As there is noAlexander Bluhm
2021-10-23There is an m_pullup() down in AH input. As it may free or changeAlexander Bluhm
2021-07-07tell ether_input() to call pf_test() outside of smr_read sections,Alexandr Nedvedicky
2021-06-02use ipv4_check and ipv6_check provided by the network stacks.David Gwynne
2021-03-05pass the uint64_t dst ethernet address from ether_input to bridges.David Gwynne
2021-03-01Refactor ip_fragment() and ip6_fragment(). Use a mbuf list toAlexander Bluhm
2021-02-25we don't have to cast to caddr_t when calling m_copydata anymore.David Gwynne
2021-02-23small adjustment of the deck chairs, no functional change.David Gwynne
2021-02-23use the ipv6 dst addr to look up an ipsec tdb in bridge_ipsec in.David Gwynne
2021-01-28bridge(4): convert ifunit() to if_unit(9)mvs
2021-01-25We have this sequence in bridge(4) ioctl(2) path:mvs
2021-01-08don't check local carp addresses as part of the antispoof checks.David Gwynne
2021-01-02Don't call if_deactivate() in bridge_clone_destroy(). Followingmvs
2020-08-06Allow pf(4) to divert packets from bridge(4) to local socket.Alexander Bluhm
2020-07-30`struct bstp_state' stores pointer to parent `ifnet' as `bs_ifp'.mvs
2020-07-22Use interface index instead of pointer to `ifnet' in `struct bstp_port'.mvs
2020-07-22register as a bridge port, not an input handler, on member ifaces.David Gwynne
2020-07-13when adding a non-existent interface as a port, don't try create missing ones.David Gwynne
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-04-12ifpromisc() requires NET_LOCK(), so acquire the lock when changingVisa Hankala
2019-11-06replace the hooks used with if_detachhooks with a task list.David Gwynne
2019-07-20When multiple ports share the same MAC, pick the physical one for delivery.Martin Pieuchot
2019-07-17Introduce ETHER_IS_BROADCAST/ANYADDR/EQ() and use them where appropriate.Martin Pieuchot
2019-06-09Always return EEXIST if an interface is already part of a bridge.Martin Pieuchot
2019-06-09Remove code for non-Ethernet members, these are no longer supported.Martin Pieuchot
2019-05-13Deal with the case where bridge_getbif() can return NULL.Martin Pieuchot
2019-05-12Switch the list of span interfaces and interfaces to SMR.Martin Pieuchot
2019-05-12pushing NET_LOCK() further down from if_clone_{create,destroy}()Alexandr Nedvedicky
2019-05-10Move bridge_filterrule() before doing the mbuf copy. Fixes a memory leakClaudio Jeker
2019-05-03An if_put() was missing in one branch of bridge_process(). ThisAlexander Bluhm
2019-04-28Removes the KERNEL_LOCK() from bridge(4)'s output fast-path.Martin Pieuchot
2019-04-15Use timeout_del_barrier(9) instead of timeout_del(9) followed byVisa Hankala
2019-03-31Fix output accounting when bridge(4) is down.Martin Pieuchot
2019-03-12Merge copy/pasted code to export STP states via ioctl into a function.Martin Pieuchot
2019-03-08Do not grab a `bif' pointer again, we already have it.Martin Pieuchot
2019-03-08Move the tag mechanism outside of net/if_bridge.c.Martin Pieuchot
2019-02-20Protect the hash table with a mutex.Martin Pieuchot
2019-02-14Use timeout_barrier() when bringing the bridge(4) down and only executeMartin Pieuchot
2019-02-14Remove mpw(4) hacks now that all the world is Ethernet.Martin Pieuchot
2019-01-29Plumbing to simplify upcoming locking.Martin Pieuchot