[openbeosnetteam] Re: Some Questions...

> > datagram from loopback -> injected into stream as if from a remote host
> > datagram to loopback -> we lookup the loopback address and get a pointer
> to
> > the ifnet structure concerned with the loopback device driver, and so we
> > simply call ifnet->output and it goes straight to the loopback_output
and
> > hence straight into the input queue for loopback.
> >
> > Does that make sense? So, I'm afraid I would have to -1 adding checks at
> the
> > ethernet level.
>
> Ok... I think I'm with you... I shall look a it in further detail... I
need
> to get the loopback working as I have only my own computer to play with at
> the moment...

Loopback is in and should work. It may not be linked in but without
committing my routing changes I can't help that. Look at ipv4/ipv4.c
(ipv4_ouput) to add some hack code to get it using the loopback driver :)

> > Keep the ideas coming though.  I'll try to commit what I have in the
> > afternoon but it doesn't currently work after all the changes I've made
> and
> > there are a LOT of changes involved!
> >
>
> David,  what are your plans in terms of what you are working on currently,
> and what do you plan to work on next... You seem to be on a roll so I dont
> want to start messing with anything you have your eyes on...

Routing has been rolled into net_server as it's so heavily used. The mian
effect is that we probably need to alter the way all the modules communicate
as we don't really have enough information being passed to allow us access
to the information needed by some (arp is a good example of this).

When I return I'll get the code in place and then you can have at it!

david



Other related posts: