summaryrefslogtreecommitdiff
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2018-03-27 18:26:50 +0000
committerBrooks Davis <brooks@FreeBSD.org>2018-03-27 18:26:50 +0000
commit86d2ef167a2368f950d31aa0049a943ef1386d30 (patch)
tree6dbf7e92b7b020b2331422003d3532b78a391c22 /sys/net/if.h
parentfb441a88290459e73e5e6e229fdf56ba570d5be5 (diff)
downloadsrc-test2-86d2ef167a2368f950d31aa0049a943ef1386d30.tar.gz
src-test2-86d2ef167a2368f950d31aa0049a943ef1386d30.zip
Notes
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 51ec1cb1a92a..8e51392cba30 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -402,7 +402,9 @@ struct ifreq {
#define ifr_addr ifr_ifru.ifru_addr /* address */
#define ifr_dstaddr ifr_ifru.ifru_dstaddr /* other end of p-to-p link */
#define ifr_broadaddr ifr_ifru.ifru_broadaddr /* broadcast address */
+#ifndef _KERNEL
#define ifr_buffer ifr_ifru.ifru_buffer /* user supplied buffer with its length */
+#endif
#define ifr_flags ifr_ifru.ifru_flags[0] /* flags (low 16 bits) */
#define ifr_flagshigh ifr_ifru.ifru_flags[1] /* flags (high 16 bits) */
#define ifr_jid ifr_ifru.ifru_jid /* jail/vnet */