diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2020-12-11 01:00:07 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2020-12-11 01:00:07 +0000 |
commit | f3f2ee76adcd673fd867b1560852e14b0fe3fdbf (patch) | |
tree | bf1ff5e98548bd0707c7b3ae50563baee8b109f6 | |
parent | d7b665dfd7a63572b5dd2b389d23d3a4c844a606 (diff) | |
download | src-test2-f3f2ee76adcd673fd867b1560852e14b0fe3fdbf.tar.gz src-test2-f3f2ee76adcd673fd867b1560852e14b0fe3fdbf.zip |
Notes
-rw-r--r-- | sys/net/if.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 6d9cc906d383..a886474780dd 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -393,7 +393,7 @@ struct ifreq_buffer { * definitions which begin with ifr_name. The * remainder may be interface specific. */ -struct ifreq { +struct ifreq { char ifr_name[IFNAMSIZ]; /* if name, e.g. "en0" */ union { struct sockaddr ifru_addr; @@ -467,11 +467,11 @@ struct ifmediareq { int *ifm_ulist; /* media words */ }; -struct ifdrv { - char ifd_name[IFNAMSIZ]; /* if name, e.g. "en0" */ - unsigned long ifd_cmd; - size_t ifd_len; - void *ifd_data; +struct ifdrv { + char ifd_name[IFNAMSIZ]; /* if name, e.g. "en0" */ + unsigned long ifd_cmd; + size_t ifd_len; + void *ifd_data; }; /* @@ -493,7 +493,7 @@ struct ifstat { * for machine (useful for programs which * must know all networks accessible). */ -struct ifconf { +struct ifconf { int ifc_len; /* size of associated buffer */ union { caddr_t ifcu_buf; |