/** * struct fcoe_interface - A FCoE interface * @list: Handle for a list of FCoE interfaces * @netdev: The associated net device * @fcoe_packet_type: FCoE packet type * @fip_packet_type: FIP packet type * @oem: The offload exchange manager for all local port * instances associated with this port * @removed: Indicates fcoe interface removed from net device * @priority: Priority for the FCoE packet (DCB) * This structure is 1:1 with a net device.
*/ struct fcoe_interface { struct list_head list; struct net_device *netdev; struct net_device *realdev; struct packet_type fcoe_packet_type; struct packet_type fip_packet_type; struct packet_type fip_vlan_packet_type; struct fc_exch_mgr *oem;
u8 removed;
u8 priority;
};
/** * fcoe_netdev() - Return the net device associated with a local port * @lport: The local port to get the net device from
*/ staticinlinestruct net_device *fcoe_netdev(conststruct fc_lport *lport)
{ return ((struct fcoe_interface *)
((struct fcoe_port *)lport_priv(lport))->priv)->netdev;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.