Date: Mon, 6 Apr 2015 15:10:54 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r281150 - projects/ifnet/sys/net Message-ID: <201504061510.t36FAsxP085789@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Mon Apr 6 15:10:54 2015 New Revision: 281150 URL: https://svnweb.freebsd.org/changeset/base/281150 Log: Improve comments on flags a bit. Modified: projects/ifnet/sys/net/if.h Modified: projects/ifnet/sys/net/if.h ============================================================================== --- projects/ifnet/sys/net/if.h Mon Apr 6 14:50:54 2015 (r281149) +++ projects/ifnet/sys/net/if.h Mon Apr 6 15:10:54 2015 (r281150) @@ -134,8 +134,8 @@ struct if_data { * after. * (n) if_flags field written only by the network stack, read by either the * stack or driver. - * (d) if_drv_flags field written only by the device driver, read by either - * the stack or driver. + * (o) obsoleted in FreeBSD, but third party applications may still + * require definitions. */ #define IFF_UP 0x1 /* (n) interface is up */ #define IFF_BROADCAST 0x2 /* (i) broadcast address valid */ @@ -143,11 +143,11 @@ struct if_data { #define IFF_LOOPBACK 0x8 /* (i) is a loopback net */ #define IFF_POINTOPOINT 0x10 /* (i) is a point-to-point link */ /* 0x20 was IFF_SMART */ -#define IFF_RUNNING 0x40 /* (d) resources allocated */ +#define IFF_RUNNING 0x40 /* (o) resources allocated */ #define IFF_NOARP 0x80 /* (n) no address resolution protocol */ #define IFF_PROMISC 0x100 /* (n) receive all packets */ #define IFF_ALLMULTI 0x200 /* (n) receive all multicast packets */ -#define IFF_OACTIVE 0x400 /* (d) tx hardware queue is full */ +#define IFF_OACTIVE 0x400 /* (o) tx hardware queue is full */ #define IFF_SIMPLEX 0x800 /* (i) can't hear own transmissions */ #define IFF_LINK0 0x1000 /* per link layer defined bit */ #define IFF_LINK1 0x2000 /* per link layer defined bit */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504061510.t36FAsxP085789>