1 / 7

Create a bridge Add interface to bridge

Create a bridge Add interface to bridge. net_bridge. net_bridge_fdb_entry. net_bridge_port. net_device. port. device. bridge. port. device. port. device. netif_receive_skb. ptype_all. handle_bridge. br_handle_frame_hook. ptype_base. loopback or dev->br_port == NULL. 和桥没关系.

hesper
Download Presentation

Create a bridge Add interface to bridge

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Create a bridge • Add interface to bridge

  2. net_bridge net_bridge_fdb_entry net_bridge_port net_device

  3. port device bridge port device port device

  4. netif_receive_skb ptype_all handle_bridge br_handle_frame_hook ptype_base

  5. loopback or dev->br_port == NULL 和桥没关系 br_handle_frame_hook

  6. yes port 的状态是disabled? no no src mac 正确? yes yes stp packet(bpdu)? br_stp_handle_bpdu no yes port的状态是learing or forwarding? br_handle_frame_finish no drop

  7. yes no flood port 的状态是disabled? 找到了fdb? drop no yes to stack update src mac database fdb是本机mac? yes drop port 的状态是learning? br_forward no yes to stack port的设备是混杂模式? no to stack: skb->dev 是bridge yes to stack 目的mac是多播地址? no 查找mac学习表

More Related