Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13148

Re: What's wrong with linux/if.h and net/if.h?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: What's wrong with linux/if.h and net/if.h?
Date Fri, 06 Jan 2012 21:54:34 +1300
Lines 12
Message-ID <9mnr6aFdr5U4@mid.individual.net> (permalink)
References <65d77142-fbf4-403f-beda-fa265ec5bee2@o9g2000yqa.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net dc6XSLdXWNxQR/jXS5HCfwJeDFNoYqH1suyvZdLxJKNK7G7ktd
Cancel-Lock sha1:YzmzcgOerCu/Sp1M1vbc8/A5OBw=
User-Agent Mozilla/5.0 (X11; SunOS i86pc; rv:6.0.2) Gecko/20111003 Thunderbird/6.0.2
In-Reply-To <65d77142-fbf4-403f-beda-fa265ec5bee2@o9g2000yqa.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:13148

Show key headers only | View raw


On 01/ 6/12 09:11 PM, fish wrote:
> In my project, I include pfring.h, but compile error: some functions
> in net/if.h and linux/if.h are redefinition. I found that the pfring.h
> include linux/if.h So, I test a program, my test code:
>
> #include<linux/if.h>
> #include<net/if.h>

You really should ask this on a Linux programming group.

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What's wrong with linux/if.h and net/if.h? fish <wenkai1987@gmail.com> - 2012-01-06 00:11 -0800
  Re: What's wrong with linux/if.h and net/if.h? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-01-06 08:53 +0000
  Re: What's wrong with linux/if.h and net/if.h? Ian Collins <ian-news@hotmail.com> - 2012-01-06 21:54 +1300
  Re: What's wrong with linux/if.h and net/if.h? Goran <goran.pusic@gmail.com> - 2012-01-06 01:49 -0800

csiph-web