Google
  Web www.spinics.net

Re: What were the reasons of having IP address at AX.25 interfaces ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> > A while ago I was curious myself for why that is needed and dug into
> > the CVS history.  I found the IP address wasn't always enforced and the
> > commit message didn't really explain why the change was needed.
> > 
> > 73 de DL5RB op Ralf
> 
> I figured it eventually myself, and rewrote  libax25's
> axconfig/rsconfig/nrconfig functions to not to require IP addresses
> in AX.25/Netrom/Rose interfaces to be able to find all interface
> currently defined.

I think it was a design problem, because the used system call only
shows those interfaces which are up. 
My approach is, to use /proc to find them, inspired by the "ifconfig" tool
(if i remember correctly).
This simply enhances get_ax25_ifaces() by this method. The code is in
the CVS version, but not enabled by default (-DFIND_ALL_INTERFACES).

I hat no problems with it on kernel 2.6. But on kernel 2.4., i observed
that when an incoming SABM occurs, the kernel did panic.

73,
	- Thomas  dl9sau
--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Site Home]     [Linux Newbie]     [Kernel Newbies]     [Memory]     [Security]     [Netfilter]     [Linux Admin]     [Bugtraq]     [Rubini]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [ARM Linux Kernel]     [Linux Networking]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]


  Powered by Linux