From: Manfred Haertel, DB3HM (wsgsq.wbgwy@multinet.no)
Date: Tue Sep 09 2003 - 21:39:36 EEST
Tomi Manninen wrote:
> The ioctl call is passing a "struct ax25_ctl_struct" to the kernel. That
> structure has the fields digi_count and digi_addr (see netax25/axlib.h)
> that should probably be filled in. The argument parsing should be
> modified to accept a digi path in addition to to dest call (maybe use
> ax25_aton() to fill in a temporary "struct full_sockaddr_ax25" and copy
> the digi stuff from there to the ax25_ctl_struct).
Hmm, I tried adding the following lines before the ioctl() call:
ax25_ctl.digi_count = 1;
if (ax25_aton_entry(mydigi, (char *)&ax25_ctl.digi_addr[0]) == -1)
return 1;
but I still get the "Transport endpoint is not connected" message... :-(
It seems that there is no problem with ax25_aton_entry(), the error
message comes from the ioctl() call...
-- Manfred Härtel, DB3HM mailto:ilcwx@itservices.com.br http://rz-home.de/mhaertel- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to oqeskf.zwlkbdctkl@banklife.com More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Tue Sep 09 2003 - 21:40:59 EEST