[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9111] pcapif: Use pcap_oid_get_request() instead?
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-devel] [patch #9111] pcapif: Use pcap_oid_get_request() instead? |
Date: |
Wed, 7 Sep 2016 18:33:58 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0 |
URL:
<http://savannah.nongnu.org/patch/?9111>
Summary: pcapif: Use pcap_oid_get_request() instead?
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: dziegel
Submitted on: Wed 07 Sep 2016 06:33:55 PM GMT
Category: Platform ports
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: goldsimon
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
I've toying with simplifying the src/contrib/ports/win32/pcap*.c
code. Since way back, libpcap has the function pcap_oid_get_request()
to simplify/replace PacketRequest() on Windows. Thus the Win32-port should
build with no dependency on Packet.lib (or libpacket.a). Note the:
Unused libraries:
f:/MingW32/src/inet/libpcap/WinPcap/lib/Packet.lib
in the lwip.map or test-app.map files.
>From my test-app.exe it seems to work fine:
status_callback==UP, local interface IP is 10.0.0.23
setting sys-time: 1471003844
3com.com: 15.201.225.10
Unplug my Eth-cable:
link_callback==DOWN
Plug the cable back:
link_callback==UP
link_callback==DOWN
link_callback==UP
status_callback==UP, local interface IP is 10.0.0.24
I'm not sure how and where to put my patches. If there
is any interest? Who is maintaining the Win32 port?
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 07 Sep 2016 06:33:55 PM GMT Name: pcap_oid_get_request.diff Size:
4kB By: dziegel
<http://savannah.nongnu.org/patch/download.php?file_id=38445>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9111>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #9111] pcapif: Use pcap_oid_get_request() instead?,
Dirk Ziegelmeier <=