/* * Add the 802.2 SNAP header if IP as the IPv4 code calls * dev->hard_header directly.
*/ if (type == ETH_P_IP || type == ETH_P_ARP)
{ struct fcllc *fcllc;
/** * alloc_fcdev - Register fibre channel device * @sizeof_priv: Size of additional driver-private structure to be allocated * for this fibre channel device * * Fill in the fields of the device structure with fibre channel-generic values. * * Constructs a new net device, complete with a private data area of * size @sizeof_priv. A 32-byte (not bit) alignment is enforced for * this private data area.
*/ struct net_device *alloc_fcdev(int sizeof_priv)
{ return alloc_netdev(sizeof_priv, "fc%d", NET_NAME_UNKNOWN, fc_setup);
}
EXPORT_SYMBOL(alloc_fcdev);
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.