In reading up on raw socket programming under RedHat 9.2,
I come across 'typedef struct pcap pcap_t' in pcap.h.
Ok, so pcap_t is of type pcap, but I can't find any
include file that tells me what pcap is itself. Ideas,
anyone?
--Tony 5 7762
Tony Gahlinger wrote: In reading up on raw socket programming under RedHat 9.2, I come across 'typedef struct pcap pcap_t' in pcap.h. Ok, so pcap_t is of type pcap, but I can't find any include file that tells me what pcap is itself. Ideas, anyone?
--Tony
There's no requirement that struct pcap be defined, as long as there is
no attempt to use it's members or take it's size. If you need to find
out what it contains, try asking in a RedHat or Linux forum.
Tony Gahlinger <tg******@ieeeREMOVECAPS.org> writes: In reading up on raw socket programming under RedHat 9.2, I come across 'typedef struct pcap pcap_t' in pcap.h. Ok, so pcap_t is of type pcap, but I can't find any include file that tells me what pcap is itself. Ideas, anyone?
Quite possibly you're not supposed to know. `struct pcap' might
be defined only in the implementation of pcap, with its contents
supposed to be opaque to users.
--
Go not to Usenet for counsel, for they will say both no and yes.
Tony Gahlinger <tg******@ieeeREMOVECAPS.org> writes: I come across 'typedef struct pcap pcap_t' in pcap.h. Ok, so pcap_t is of type pcap,
No, `pcap_t' is of type `struct pcap'.
Martin
"Martin Dickopp" <ex****************@zero-based.org> wrote in message
news:bu*************@news.t-online.com... Tony Gahlinger <tg******@ieeeREMOVECAPS.org> writes:
I come across 'typedef struct pcap pcap_t' in pcap.h. Ok, so pcap_t is of type pcap,
No, `pcap_t' is of type `struct pcap'.
No, 'pcap_t' is an alias for the type 'struct pcap'. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ravi Tallury |
last post by:
Hi
We are having issues with our application, certain portions of it stop
responding while the rest of the application is fine. I am attaching
the Java Core dump. If someone can let me know what...
|
by: Sarah Tanembaum |
last post by:
Beside its an opensource and supported by community, what's the fundamental
differences between PostgreSQL and those high-price commercial database (and
some are bloated such as Oracle) from...
|
by: yee young han |
last post by:
I need a fast data structure and algorithm like below condition.
(1) this data structure contain only 10,000 data entry.
(2) data structure's one entry is like below
typedef struct _DataEntry_...
|
by: Charles Law |
last post by:
Take a solution with a project hierarchy along the lines of an n-tier
system, so that we have a data layer, business layer and presentation layer.
The presentation layer is coupled to the business...
|
by: Hyphessobrycon |
last post by:
Private Sub btnrubriekbij_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnrubriekbij.Click
'insert hier
Dim cn As New OleDb.OleDbConnection(constr)
Dim dc As...
|
by: Gg |
last post by:
In attempt to file a combo box
I had the following code - copied and modified the suggestion from Cur ( and
thank you Cor) in other thread
Dim Conn As New...
|
by: smorrey |
last post by:
Howdy folks,
I recently purchased a book on C++ MUD creation and it features alot of
nifty tidbits.
The book is
MUD GAME PROGRAMMING by Ron Penton
Publisher: Premier Press
Anyways of...
|
by: Boki |
last post by:
Hi All,
I have a timer, if my data queue Q has data, the timer should start
work, if there is no data in Q, the timer should stop.
However, there is an event can fire timer to start.
Should I...
|
by: Dave |
last post by:
I have a global.asax file with Application_Start defined and create some
static data there and in another module used in the asp.net application and
I realize that static data is shared amongst...
|
by: truedecembr |
last post by:
Hi everyone, I am brand new to Java and not really even sure what I'm doing... I'm supposed to be writing a Timer class that is part of a stop watch application, and it seems to me that the program...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |