Query: netdev_upper_dev_link
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NETDEV_UPPER_DEV_LIN(9) Network device support NETDEV_UPPER_DEV_LIN(9)NAMEnetdev_upper_dev_link - Add a link to the upper deviceSYNOPSISint netdev_upper_dev_link(struct net_device * dev, struct net_device * upper_dev);ARGUMENTSdev device upper_dev new upper deviceDESCRIPTIONAdds a link to device which is upper to this one. The caller must hold the RTNL lock. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.COPYRIGHTKernel Hackers Manual 3.10 June 2014 NETDEV_UPPER_DEV_LIN(9)