Andrew Benton wrote:
/* Some generic methods drivers may use in their ethtool_ops */ u32 ethtool_op_get_link(struct net_device *dev); u32 ethtool_op_get_tx_csum(struct net_device *dev); int ethtool_op_set_tx_csum(struct net_device *dev, __u32 data); int ethtool_op_set_tx_hw_csum(struct net_device *dev, __u32 data); u32 ethtool_op_get_sg(struct net_device *dev); int ethtool_op_set_sg(struct net_device *dev, __u32 data); u32 ethtool_op_get_tso(struct net_device *dev);
These functions (in fact, all function declarations in kernel headers) are kernel-only and it is a good idea to remove them to avoid namespace clashes in userspace programs.
-- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page