By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,842 Members | 2,186 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,842 IT Pros & Developers. It's quick & easy.

Processing IPV4 and Ethernet frames

P: n/a
Hello everyone,

My task is to capture a data from the port and to find what type of
data it is. That is wheather it is a IPV4 or a Ethernet frame.
Initially I worked it using Pcap but this one also restricted. The
complete code must be written by me. Would you mind to help me out. I
am waiting for your reply. It's urgent.

Thanks in advance.
--Raghu

Feb 14 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
raghu wrote:
Hello everyone,

My task is to capture a data from the port and to find what type of
data it is. That is wheather it is a IPV4 or a Ethernet frame.
Initially I worked it using Pcap but this one also restricted. The
complete code must be written by me. Would you mind to help me out. I
am waiting for your reply. It's urgent.
You will have to ask on a group dedicated to your target platform.

--
Ian Collins.
Feb 14 '07 #2

P: n/a
On Feb 14, 10:26 am, Ian Collins <ian-n...@hotmail.comwrote:
raghu wrote:
Hello everyone,
My task is to capture a data from the port and to find what type of
data it is. That is wheather it is a IPV4 or a Ethernet frame.
Initially I worked it using Pcap but this one also restricted. The
complete code must be written by me. Would you mind to help me out. I
am waiting for your reply. It's urgent.

You will have to ask on a group dedicated to your target platform.

--
Ian Collins.
Sorry I didn't know to which group I needto post this query. Can you
please give me an idea. But now I need to implement it on the C
language. Thats why I posted it here.
Feb 14 '07 #3

P: n/a
raghu wrote:
On Feb 14, 10:26 am, Ian Collins <ian-n...@hotmail.comwrote:
>>raghu wrote:
>>>Hello everyone,
>>>My task is to capture a data from the port and to find what type of
data it is. That is wheather it is a IPV4 or a Ethernet frame.
Initially I worked it using Pcap but this one also restricted. The
complete code must be written by me. Would you mind to help me out. I
am waiting for your reply. It's urgent.

You will have to ask on a group dedicated to your target platform.
Please trim signatures
>
Sorry I didn't know to which group I needto post this query. Can you
please give me an idea. But now I need to implement it on the C
language. Thats why I posted it here.
Well that depends on your platform, search google groups for a relevant
group. Standard C doesn't have any knowledge of IP packets, you have to
use platform specific libraries to access them.

--
Ian Collins.
Feb 14 '07 #4

P: n/a
raghu wrote:
>You will have to ask on a group dedicated to your target platform.

--
Ian Collins.

Sorry I didn't know to which group I needto post this query. Can you
please give me an idea. But now I need to implement it on the C
language. Thats why I posted it here.
C language aside, what is it with people and absolute lack of resourcefulness?
It's almost as if they cannot figure out even for a second where to begin
looking, and ironically in this cas he's going to be implementing code that
will capture Ethernet frames? Stick to hello world.
Feb 14 '07 #5

P: n/a
Christopher Layne a écrit :
raghu wrote:
>>>You will have to ask on a group dedicated to your target platform.

--
Ian Collins.

Sorry I didn't know to which group I needto post this query. Can you
please give me an idea. But now I need to implement it on the C
language. Thats why I posted it here.


C language aside, what is it with people and absolute lack of resourcefulness?
It's almost as if they cannot figure out even for a second where to begin
looking, and ironically in this cas he's going to be implementing code that
will capture Ethernet frames? Stick to hello world.
Because he is probably working somewhere in a "delocalized"
setting, where you put people without a clue to do what
the systems engineers did before the delocalization.

Consequence: the systems engineer, now without work, has
more time to browse newsgroups and to help the clueless
so that they do his former job. This is called "progess"!

:-)

To raghu

Look raghu, you are in big trouble. You have accepted a
job for which you are absolutely not qualified. The best
way to get out of this is to hide your ignorance as long as you
are able, and use that time to look for a new job...

Of course, looking for the specs of IPV4, writing code to
recognize those specs, looking up the ethernet specs, and writing
code to recognize those specs is not very easy mind you.

jacob
Feb 14 '07 #6

P: n/a
jacob navia wrote:
Because he is probably working somewhere in a "delocalized"
setting, where you put people without a clue to do what
the systems engineers did before the delocalization.

Consequence: the systems engineer, now without work, has
more time to browse newsgroups and to help the clueless
so that they do his former job. This is called "progess"!
Where unfortunately "delocalized" means "offshored" right?

Yeah all in the name of progress to make the fat cats fatter.
Feb 14 '07 #7

P: n/a
"raghu" <ra*********@gmail.comwrote in message
news:11**********************@a34g2000cwb.googlegr oups.com...
Hello everyone,

My task is to capture a data from the port and to find what type of
data it is. That is wheather it is a IPV4 or a Ethernet frame.
Initially I worked it using Pcap but this one also restricted. The
complete code must be written by me. Would you mind to help me out. I
am waiting for your reply. It's urgent.
Google for "Ethereal", download the source, and read it. Then, if you have
questions, find a newsgroup appropriate to your platform; networking is
off-topic here.

S

--
Stephen Sprunk "Those people who think they know everything
CCIE #3723 are a great annoyance to those of us who do."
K5SSS --Isaac Asimov

--
Posted via a free Usenet account from http://www.teranews.com

Feb 14 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.