Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit core collection
Commits
344a4633
Commit
344a4633
authored
Oct 25, 2011
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simulation models: added some flags
parent
345b6c3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
eth_packet.svh
sim/eth_packet.svh
+11
-10
No files found.
sim/eth_packet.svh
View file @
344a4633
...
...
@@ -245,16 +245,17 @@ class EthPacketGenerator;
protected
int
min_size
,
max_size
;
protected
int
seed
;
static
const
int
SMAC
=
(
1
<<
0
)
;
static
const
int
DMAC
=
(
1
<<
1
)
;
static
const
int
ETHERTYPE
=
(
1
<<
2
)
;
static
const
int
VID
=
(
1
<<
3
)
;
static
const
int
PCP
=
(
1
<<
4
)
;
static
const
int
PAYLOAD
=
(
1
<<
5
)
;
static
const
int
SEQ_PAYLOAD
=
(
1
<<
7
)
;
static
const
int
TX_OOB
=
(
1
<<
6
)
;
static
const
int
EVEN_LENGTH
=
(
1
<<
8
)
;
static
const
int
ALL
=
SMAC
|
DMAC
|
VID
|
ETHERTYPE
|
PCP
|
PAYLOAD
;
static
const
int
SMAC
=
(
1
<<
0
)
;
static
const
int
DMAC
=
(
1
<<
1
)
;
static
const
int
ETHERTYPE
=
(
1
<<
2
)
;
static
const
int
VID
=
(
1
<<
3
)
;
static
const
int
PCP
=
(
1
<<
4
)
;
static
const
int
PAYLOAD
=
(
1
<<
5
)
;
static
const
int
SEQ_PAYLOAD
=
(
1
<<
7
)
;
static
const
int
TX_OOB
=
(
1
<<
6
)
;
static
const
int
EVEN_LENGTH
=
(
1
<<
8
)
;
static
const
int
RX_OOB
=
(
1
<<
9
)
;
static
const
int
ALL
=
SMAC
|
DMAC
|
VID
|
ETHERTYPE
|
PCP
|
PAYLOAD
;
protected
int
r_flags
;
...
...
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