Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
PPSi
Commits
657af51f
Commit
657af51f
authored
Jan 30, 2013
by
Danilo Sabato
Committed by
Alessandro Rubini
Feb 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-bare-x86-64: fixed bare_send_packet prototype
parent
a4cd061d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bare-linux.h
arch-bare-x86-64/bare-linux.h
+1
-1
bare-socket.c
arch-bare-x86-64/bare-socket.c
+2
-2
No files found.
arch-bare-x86-64/bare-linux.h
View file @
657af51f
...
...
@@ -10,7 +10,7 @@ extern int bare_open_ch(struct pp_instance *ppi, char *name);
extern
int
bare_recv_packet
(
struct
pp_instance
*
ppi
,
void
*
pkt
,
int
len
,
TimeInternal
*
t
);
extern
int
bare_send_packet
(
struct
pp_instance
*
ppi
,
void
*
pkt
,
int
len
,
int
chtype
,
int
use_pdelay_addr
);
TimeInternal
*
t
,
int
chtype
,
int
use_pdelay_addr
);
extern
void
bare_main_loop
(
struct
pp_instance
*
ppi
);
...
...
arch-bare-x86-64/bare-socket.c
View file @
657af51f
...
...
@@ -17,8 +17,8 @@ int bare_recv_packet(struct pp_instance *ppi, void *pkt, int len,
return
sys_recv
(
NP
(
ppi
)
->
ch
[
PP_NP_GEN
].
fd
,
pkt
,
len
,
0
);
}
int
bare_send_packet
(
struct
pp_instance
*
ppi
,
void
*
pkt
,
int
len
,
int
chtype
,
int
use_pdelay_addr
)
int
bare_send_packet
(
struct
pp_instance
*
ppi
,
void
*
pkt
,
int
len
,
TimeInternal
*
t
,
int
chtype
,
int
use_pdelay_addr
)
{
return
sys_send
(
NP
(
ppi
)
->
ch
[
chtype
].
fd
,
pkt
,
len
,
0
);
}
...
...
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