Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2011 15:21:29 +0400
From:      Vladimir Budnev <vladimir.budnev@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   What does define COMMENT_ONLY mean?
Message-ID:  <CAAvRK942U%2BAiokN0MWQVteeYS5tk%2BdrCOQ_ybRcKZT0gN4Y8WA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello!

What does this define

COMMENT_ONLY

mean and what for it is used?

Iv met such one in if_arp.h source in freebsd kernel, but cant get such
strange if in arp header structure.

-----------------------------------example
struct  arphdr {
<...>
/*
 * The remaining fields are variable in size,
 * according to the sizes above.
 */
#ifdef COMMENT_ONLY
        u_char  ar_sha[];       /* sender hardware address */
        u_char  ar_spa[];       /* sender protocol address */
        u_char  ar_tha[];       /* target hardware address */
        u_char  ar_tpa[];       /* target protocol address */
#endif
};



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAvRK942U%2BAiokN0MWQVteeYS5tk%2BdrCOQ_ybRcKZT0gN4Y8WA>