Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
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
iproute2
Commits
3f5c1a01
Commit
3f5c1a01
authored
Oct 20, 2010
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to 2.6.36 headers
Use santized headers from 2.6.36 release
parent
66abc090
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
33 deletions
+25
-33
include/linux/if_ether.h
include/linux/if_ether.h
+1
-1
include/linux/netdevice.h
include/linux/netdevice.h
+0
-30
include/linux/netlink.h
include/linux/netlink.h
+0
-2
include/linux/tc_ematch/tc_em_text.h
include/linux/tc_ematch/tc_em_text.h
+19
-0
include/linux/types.h
include/linux/types.h
+5
-0
No files found.
include/linux/if_ether.h
View file @
3f5c1a01
...
...
@@ -119,7 +119,7 @@ struct ethhdr {
unsigned
char
h_dest
[
ETH_ALEN
];
/* destination eth addr */
unsigned
char
h_source
[
ETH_ALEN
];
/* source ether addr */
__be16
h_proto
;
/* packet type ID field */
}
__
packed
;
}
__
attribute__
((
packed
))
;
#endif
/* _LINUX_IF_ETHER_H */
include/linux/netdevice.h
View file @
3f5c1a01
...
...
@@ -34,36 +34,6 @@
#define MAX_ADDR_LEN 32
/* Largest hardware address length */
/*
* Old network device statistics. Fields are native words
* (unsigned long) so they can be read and written atomically.
*/
struct
net_device_stats
{
unsigned
long
rx_packets
;
unsigned
long
tx_packets
;
unsigned
long
rx_bytes
;
unsigned
long
tx_bytes
;
unsigned
long
rx_errors
;
unsigned
long
tx_errors
;
unsigned
long
rx_dropped
;
unsigned
long
tx_dropped
;
unsigned
long
multicast
;
unsigned
long
collisions
;
unsigned
long
rx_length_errors
;
unsigned
long
rx_over_errors
;
unsigned
long
rx_crc_errors
;
unsigned
long
rx_frame_errors
;
unsigned
long
rx_fifo_errors
;
unsigned
long
rx_missed_errors
;
unsigned
long
tx_aborted_errors
;
unsigned
long
tx_carrier_errors
;
unsigned
long
tx_fifo_errors
;
unsigned
long
tx_heartbeat_errors
;
unsigned
long
tx_window_errors
;
unsigned
long
rx_compressed
;
unsigned
long
tx_compressed
;
};
/* Media selection options. */
enum
{
...
...
include/linux/netlink.h
View file @
3f5c1a01
...
...
@@ -27,8 +27,6 @@
#define MAX_LINKS 32
struct
net
;
struct
sockaddr_nl
{
sa_family_t
nl_family
;
/* AF_NETLINK */
unsigned
short
nl_pad
;
/* zero */
...
...
include/linux/tc_ematch/tc_em_text.h
0 → 100644
View file @
3f5c1a01
#ifndef __LINUX_TC_EM_TEXT_H
#define __LINUX_TC_EM_TEXT_H
#include <linux/types.h>
#include <linux/pkt_cls.h>
#define TC_EM_TEXT_ALGOSIZ 16
struct
tcf_em_text
{
char
algo
[
TC_EM_TEXT_ALGOSIZ
];
__u16
from_offset
;
__u16
to_offset
;
__u16
pattern_len
;
__u8
from_layer
:
4
;
__u8
to_layer
:
4
;
__u8
pad
;
};
#endif
include/linux/types.h
View file @
3f5c1a01
...
...
@@ -34,5 +34,10 @@ typedef __u64 __bitwise __be64;
typedef
__u16
__bitwise
__sum16
;
typedef
__u32
__bitwise
__wsum
;
/* this is a special 64bit data type that is 8-byte aligned */
#define __aligned_u64 __u64 __attribute__((aligned(8)))
#define __aligned_be64 __be64 __attribute__((aligned(8)))
#define __aligned_le64 __le64 __attribute__((aligned(8)))
#endif
/* __ASSEMBLY__ */
#endif
/* _LINUX_TYPES_H */
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