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
c070c46e
Commit
c070c46e
authored
Aug 18, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Aug 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wpcap: Implement pcap_open.
parent
5528d728
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
wpcap.c
dlls/wpcap/wpcap.c
+11
-0
wpcap.spec
dlls/wpcap/wpcap.spec
+1
-1
No files found.
dlls/wpcap/wpcap.c
View file @
c070c46e
...
...
@@ -196,6 +196,17 @@ int CDECL wine_pcap_minor_version(pcap_t *p)
return
pcap_minor_version
(
p
);
}
#define PCAP_OPENFLAG_PROMISCUOUS 1
pcap_t
*
CDECL
wine_pcap_open
(
const
char
*
source
,
int
snaplen
,
int
flags
,
int
read_timeout
,
void
*
auth
,
char
*
errbuf
)
{
int
promisc
=
flags
&
PCAP_OPENFLAG_PROMISCUOUS
;
FIXME
(
"(%s %i %i %i %p %p): partial stub
\n
"
,
debugstr_a
(
source
),
snaplen
,
flags
,
read_timeout
,
auth
,
errbuf
);
return
pcap_open_live
(
source
,
snaplen
,
promisc
,
read_timeout
,
errbuf
);
}
pcap_t
*
CDECL
wine_pcap_open_live
(
const
char
*
source
,
int
snaplen
,
int
promisc
,
int
to_ms
,
char
*
errbuf
)
{
...
...
dlls/wpcap/wpcap.spec
View file @
c070c46e
...
...
@@ -47,7 +47,7 @@
@ stub pcap_next_ex
@ stub pcap_offline_filter
@ stub pcap_offline_read
@
stub
pcap_open
@
cdecl pcap_open(str long long long ptr ptr) wine_
pcap_open
@ stub pcap_open_dead
@ cdecl pcap_open_live(str long long long ptr) wine_pcap_open_live
@ stub pcap_open_offline
...
...
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