Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

from where to start hacking tcp/ip protocol source..

2 views
Skip to first unread message

prakash

unread,
Jul 18, 2001, 3:21:35 AM7/18/01
to
Hello,
I am writing a stack on top of tcp/ip. I want to write an interface
between my stack and tcp/ip. So in order to do that, firstly, I am
thinking to hack the tcp/ip source code of linux kernel 2.4.0. Can
anybody suggest me from where to start the hacking , and how the flow
goes. FYI I read the tcp/ip section of the book Internetworking with
TCP/IP by Douglos Comer & Stevens Vol I & II.
If anybody gives the suggestion regarding how to write the interface
it will be a pleasure.
Thanks & Regards.
Prakash

phil-new...@ipal.net

unread,
Jul 18, 2001, 10:22:28 AM7/18/01
to

Why not write it as a library. If your protocol uses TCP connections
and/or UDP datagrams, then your library can create connection objects
to keep state and a set of functions/methods to implement the protocol
actions/messages/responses. Applications that need to use your new
protocol can then use the library API to carry it out in an easy to
implement way.

--
-----------------------------------------------------------------
| Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ |
| phil-...@ipal.net | Texas, USA | http://phil.ipal.org/ |
-----------------------------------------------------------------

prakash

unread,
Jul 19, 2001, 3:03:24 AM7/19/01
to
phil-new...@ipal.net wrote in message news:<9j463...@enews2.newsguy.com>...

> In comp.os.linux.development.system prakash <prakas...@hotmail.com> wrote:
>
> | Hello,
> | I am writing a stack on top of tcp/ip. I want to write an interface
> | between my stack and tcp/ip. So in order to do that, firstly, I am
> | thinking to hack the tcp/ip source code of linux kernel 2.4.0. Can
> | anybody suggest me from where to start the hacking , and how the flow
> | goes. FYI I read the tcp/ip section of the book Internetworking with
> | TCP/IP by Douglos Comer & Stevens Vol I & II.
> | If anybody gives the suggestion regarding how to write the interface
> | it will be a pleasure.
> | Thanks & Regards.
> | Prakash
>
> Why not write it as a library. If your protocol uses TCP connections
> and/or UDP datagrams, then your library can create connection objects
> to keep state and a set of functions/methods to implement the protocol
> actions/messages/responses. Applications that need to use your new
> protocol can then use the library API to carry it out in an easy to
> implement way.

Thanx for the reply & the suggestion. I can do as you told. But I want
to explore the tcp/ip source code. That's why I put the question as in
the subject. I just want a start to hack the kernel code.
Thanx & Regards.
Prakash.

0 new messages