Re: axctl utility

From: Tomi Manninen (iao@uni-paderborn.de)
Date: Tue Sep 09 2003 - 00:00:28 EEST

  • Next message: Cathryn Mataga: "Re: IMPORTANT: LinuxNode v0.3.2"

    On Mon, 2003-09-08 at 23:15, Manfred Haertel, DB3HM wrote:

    > I have read the source of the utility, it's actually very simple, just
    > passes the parameters to an ioctl call with SIOCAX25CTLCON as the second
    > parameter.
    >
    > Is there a chance to specify a digipeater in the ioctl() call? I have
    > not found a documentation of this call yet.

    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).

    -- 
    Tomi Manninen           Internet:  dvqwjfep@roskapostia.tunk.net
    OH2BNS                  AX.25:     lqfda.rtyizkpltq@prosiebensat1.net
    KP20ME04                Amprnet:   terhi.victor@logonet.com
    

    - To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to laydfmtb.oxwkbyjpc@dacint.com More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Tue Sep 09 2003 - 00:00:53 EEST