Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1ed9760b
Commit
1ed9760b
authored
Aug 12, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Aug 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wpcap: Implement pcap_setfilter.
parent
297a69a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
wpcap.c
dlls/wpcap/wpcap.c
+6
-0
wpcap.spec
dlls/wpcap/wpcap.spec
+1
-1
No files found.
dlls/wpcap/wpcap.c
View file @
1ed9760b
...
@@ -106,6 +106,12 @@ int CDECL wine_pcap_setbuff(pcap_t * p, int dim)
...
@@ -106,6 +106,12 @@ int CDECL wine_pcap_setbuff(pcap_t * p, int dim)
return
0
;
return
0
;
}
}
int
CDECL
wine_pcap_setfilter
(
pcap_t
*
p
,
struct
bpf_program
*
fp
)
{
TRACE
(
"(%p %p)
\n
"
,
p
,
fp
);
return
pcap_setfilter
(
p
,
fp
);
}
int
CDECL
wine_pcap_stats
(
pcap_t
*
p
,
struct
pcap_stat
*
ps
)
int
CDECL
wine_pcap_stats
(
pcap_t
*
p
,
struct
pcap_stat
*
ps
)
{
{
TRACE
(
"(%p %p)
\n
"
,
p
,
ps
);
TRACE
(
"(%p %p)
\n
"
,
p
,
ps
);
...
...
dlls/wpcap/wpcap.spec
View file @
1ed9760b
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
@ stub pcap_sendqueue_transmit
@ stub pcap_sendqueue_transmit
@ stub pcap_set_datalink
@ stub pcap_set_datalink
@ cdecl pcap_setbuff(ptr long) wine_pcap_setbuff
@ cdecl pcap_setbuff(ptr long) wine_pcap_setbuff
@
stub
pcap_setfilter
@
cdecl pcap_setfilter(ptr ptr) wine_
pcap_setfilter
@ stub pcap_setmintocopy
@ stub pcap_setmintocopy
@ stub pcap_setmode
@ stub pcap_setmode
@ stub pcap_setnonblock
@ stub pcap_setnonblock
...
...
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