Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
12b826dc
Commit
12b826dc
authored
Aug 16, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packet: Update diag header with fanout and rings
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
277f0f2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
packet_diag.h
include/packet_diag.h
+15
-0
No files found.
include/packet_diag.h
View file @
12b826dc
...
...
@@ -14,6 +14,8 @@ struct packet_diag_req {
#define PACKET_SHOW_INFO 0x00000001
/* Basic packet_sk information */
#define PACKET_SHOW_MCLIST 0x00000002
/* A set of packet_diag_mclist-s */
#define PACKET_SHOW_RING_CFG 0x00000004
/* Rings configuration parameters */
#define PACKET_SHOW_FANOUT 0x00000008
struct
packet_diag_msg
{
__u8
pdiag_family
;
...
...
@@ -27,6 +29,9 @@ struct packet_diag_msg {
enum
{
PACKET_DIAG_INFO
,
PACKET_DIAG_MCLIST
,
PACKET_DIAG_RX_RING
,
PACKET_DIAG_TX_RING
,
PACKET_DIAG_FANOUT
,
PACKET_DIAG_MAX
,
};
...
...
@@ -58,4 +63,14 @@ struct packet_diag_mclist {
__u8
pdmc_addr
[
MAX_ADDR_LEN
];
};
struct
packet_diag_ring
{
__u32
pdr_block_size
;
__u32
pdr_block_nr
;
__u32
pdr_frame_size
;
__u32
pdr_frame_nr
;
__u32
pdr_retire_tmo
;
__u32
pdr_sizeof_priv
;
__u32
pdr_features
;
};
#endif
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