Hi Rajat.

      If i want to use this interface not as a pointopoint one, i'll have
to make changes in ip_strm_mod.c.
      Is there any other way to do so??


You may want to take a look at the ip_to_dlpi instead. We released this

as open source a little while ago and you'll find it in LiS 2.16.

One issue you need to keep in mind (which may help explain why ip_strm_mod
is point-to-point) is that you have a non-arp interface.  Given that,
you won't have automatic determination of different MAC addresses for
different remotes.  Being point-to-point allows you to determine the
remote WAN node by the selected IP device.

We found this didn't fit the model in our products, which is why we use
ip_to_dlpi.

We use a multiplexing driver below ip_to_dlpi which has internal tables

(loaded using ioctls) to map next-hop IP addresses to X.25 addresses and
frame relay DLCIs.  The lower driver also has to deals with setting up
and tearing down virtual circuits to make the bridge between
connectionless IP and connection-based X.25.  Given the address mapping/
multiplexing happens further down the stack, ip_to_dlpi presents itself
as multipoint.

Regards,
        Steve

------------------------------------------------------------------------
Steve Schefter                               phone: +1 705 725 9999 x26
The Software Group Limited                     fax: +1 705 725 9666
642 Welham Road,                             email: [EMAIL PROTECTED]
Barrie, Ontario CANADA  L4N 9A1                Web: www.wanware.com


_______________________________________________ Linux-streams mailing list [EMAIL PROTECTED] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to