linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mateus Interciso <p.zarnick@gmail.com>
To: linux-c-programming@vger.kernel.org
Subject: Creating a routing program - the basics
Date: Tue, 23 Oct 2007 10:44:25 +0000 (UTC)	[thread overview]
Message-ID: <ffkja9$io8$1@ger.gmane.org> (raw)

Hello, I'm currently on university, and for my graduation paper, I'll be 
implementing a routing algorythm, by hand, in C.
The routing algorythm itself is not easy, but one of the starting parts 
of it, is to find a way of discovering the MAC that it is currently 
connected to, maybe is bether if I draw, since I'm not really that good 
in english:

[PC with n NICs]-----(n cables)---->[n PCs]

I have full control of the first PC, of course, since is the one I'm 
implementing the router, so I do know the MAC of it, but how to discover 
the MAC on the other end of the n lines, so I can start sending packets?
Anyone could help me impĺementing this exact thing? I think I got the 
theory right, but I have no clue how to start programing.

Thanks a lot.

Mateus

-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2007-10-23 10:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23 10:44 Mateus Interciso [this message]
2007-10-23 11:15 ` Creating a routing program - the basics Steve Graegert
2007-10-23 12:11   ` Mateus Interciso
2007-10-23 13:56     ` Steve Graegert
2007-10-23 14:13       ` Mateus Interciso
2007-11-02 18:28         ` J.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ffkja9$io8$1@ger.gmane.org' \
    --to=p.zarnick@gmail.com \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).