Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3b48524d
Commit
3b48524d
authored
Apr 06, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET] define HAVE_NETDEV_PRIV back-compat hook
parent
f2f1383c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
include/linux/netdevice.h
include/linux/netdevice.h
+3
-2
No files found.
include/linux/netdevice.h
View file @
3b48524d
...
@@ -42,13 +42,14 @@ struct divert_blk;
...
@@ -42,13 +42,14 @@ struct divert_blk;
struct
vlan_group
;
struct
vlan_group
;
struct
ethtool_ops
;
struct
ethtool_ops
;
/* source back-compat hook */
/* source back-compat hook
s
*/
#define SET_ETHTOOL_OPS(netdev,ops) \
#define SET_ETHTOOL_OPS(netdev,ops) \
( (netdev)->ethtool_ops = (ops) )
( (netdev)->ethtool_ops = (ops) )
#define HAVE_ALLOC_NETDEV
/* feature macro: alloc_xxxdev
#define HAVE_ALLOC_NETDEV
/* feature macro: alloc_xxxdev
functions are available. */
functions are available. */
#define HAVE_FREE_NETDEV
#define HAVE_FREE_NETDEV
/* free_netdev() */
#define HAVE_NETDEV_PRIV
/* netdev_priv() */
#define NET_XMIT_SUCCESS 0
#define NET_XMIT_SUCCESS 0
#define NET_XMIT_DROP 1
/* skb dropped */
#define NET_XMIT_DROP 1
/* skb dropped */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment