What happens is that real (or virtual) network devices call the common network receive function - netif_receive_skb This function has a hook rx_handler which is called if the device is part of a bridge. The bridge code the processes the packets and either floods them, redirects, or drops the packets based on the learned forwarding table.
On Sat, Mar 29, 2014 at 7:10 PM, longguang.yue <[email protected]> wrote: > hi,all > each port of bridge, has its packets process function called > br_handle_frame. > i want to know before this function called who and how it get the > packets? > if it is a real physical ethernet, it must be its driver, but for virtual > ethernet , what is the driver? > > > thanks > > > > _______________________________________________ > Virtualization mailing list > [email protected] > https://lists.linuxfoundation.org/mailman/listinfo/virtualization >
_______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
