Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Packetdrill_tarr_ext
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stefan Gense
Packetdrill_tarr_ext
Commits
011f7c4f
Commit
011f7c4f
authored
9 years ago
by
Michael Tüxen
Browse files
Options
Downloads
Patches
Plain Diff
Try to get it compiling on Linux.
parent
cfe85b8b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gtests/net/packetdrill/run_system_call.c
+6
-4
6 additions, 4 deletions
gtests/net/packetdrill/run_system_call.c
with
6 additions
and
4 deletions
gtests/net/packetdrill/run_system_call.c
+
6
−
4
View file @
011f7c4f
...
...
@@ -3293,7 +3293,8 @@ static int syscall_sctp_recvmsg(struct state *state, struct syscall_spec *syscal
#endif
}
int
parse_expression_to_sctp_sndinfo
(
struct
expression
*
expr
,
struct
sctp_sndinfo
*
info
,
char
**
error
)
{
#if defined(__FreeBSD__)
static
int
parse_expression_to_sctp_sndinfo
(
struct
expression
*
expr
,
struct
sctp_sndinfo
*
info
,
char
**
error
)
{
if
(
expr
->
type
==
EXPR_SCTP_SNDINFO
)
{
struct
sctp_sndinfo_expr
*
sndinfo_expr
=
expr
->
value
.
sctp_sndinfo
;
info
->
snd_assoc_id
=
0
;
...
...
@@ -3315,7 +3316,7 @@ int parse_expression_to_sctp_sndinfo(struct expression *expr, struct sctp_sndinf
return
STATUS_OK
;
}
int
parse_expression_to_sctp_authinfo
(
struct
expression
*
expr
,
struct
sctp_authinfo
*
info
,
char
**
error
)
{
static
int
parse_expression_to_sctp_authinfo
(
struct
expression
*
expr
,
struct
sctp_authinfo
*
info
,
char
**
error
)
{
if
(
expr
->
type
==
EXPR_SCTP_AUTHINFO
)
{
struct
sctp_authinfo_expr
*
auth_expr
=
expr
->
value
.
sctp_authinfo
;
if
(
get_u16
(
auth_expr
->
auth_keynumber
,
&
info
->
auth_keynumber
,
error
))
{
...
...
@@ -3327,7 +3328,7 @@ int parse_expression_to_sctp_authinfo(struct expression *expr, struct sctp_authi
return
STATUS_OK
;
}
int
parse_expression_to_sctp_prinfo
(
struct
expression
*
expr
,
struct
sctp_prinfo
*
info
,
char
**
error
)
{
static
int
parse_expression_to_sctp_prinfo
(
struct
expression
*
expr
,
struct
sctp_prinfo
*
info
,
char
**
error
)
{
if
(
expr
->
type
==
EXPR_SCTP_PRINFO
)
{
struct
sctp_prinfo_expr
*
prinfo_expr
=
expr
->
value
.
sctp_prinfo
;
if
(
get_u16
(
prinfo_expr
->
pr_policy
,
&
info
->
pr_policy
,
error
))
{
...
...
@@ -3342,7 +3343,7 @@ int parse_expression_to_sctp_prinfo(struct expression *expr, struct sctp_prinfo
return
STATUS_OK
;
}
int
parse_expression_to_sctp_sendv_spa
(
struct
expression
*
expr
,
struct
sctp_sendv_spa
*
info
,
char
**
error
)
{
static
int
parse_expression_to_sctp_sendv_spa
(
struct
expression
*
expr
,
struct
sctp_sendv_spa
*
info
,
char
**
error
)
{
if
(
expr
->
type
==
EXPR_SCTP_SENDV_SPA
)
{
struct
sctp_sendv_spa_expr
*
spa_expr
=
expr
->
value
.
sctp_sendv_spa
;
if
(
get_u32
(
spa_expr
->
sendv_flags
,
&
info
->
sendv_flags
,
error
))
{
...
...
@@ -3365,6 +3366,7 @@ int parse_expression_to_sctp_sendv_spa(struct expression *expr, struct sctp_send
}
return
STATUS_OK
;
}
#endif
static
int
syscall_sctp_sendv
(
struct
state
*
state
,
struct
syscall_spec
*
syscall
,
struct
expression_list
*
args
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment