lkml.org 
[lkml]   [1999]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dns->tcp/ip->ethernet
Hi, 
> I developing a Real-Time network protocol to work under Linux
> ipv4. In the first phase of the project I took only the hardware
> addresses to make the connections between PC's for not to worry about
> the TCP and IP stuff and socket implementation, just for testing
> purposes. My idea is to come up with a user level real-time socket
> implementation and now I am in the process of reading the TCP/IP code to
> find where the hostnames turn into TCP and IP addresses and finally where
The kernel-networkcode doesn't care about hostnames... That's done in
userspace (gethostbyname is a library-function, not a syscall)

> these turn into hardware addresses. I would like my protocol to work in
> an environment in which TCP/IP is operating.
>
> I have found arp_find() and other functions that seems to look at the
> route table and obtain the hardware addresses, but they are so inmersed
> into the design of the TCP/IP that I have not clear idea how to use them.
Agree! I'm seeking myself for a way to send "hand-made" tcp/ip-packets
without having to care about the datalink-level-headers... This part has
changed since 2.0.x and now I'm _really_ stuck...

Florian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.042 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site