aboutsummaryrefslogtreecommitdiff
path: root/sys/net/ethernet.h
diff options
context:
space:
mode:
authorChristian S.J. Peron <csjp@FreeBSD.org>2007-01-01 21:49:39 +0000
committerChristian S.J. Peron <csjp@FreeBSD.org>2007-01-01 21:49:39 +0000
commit8d8d78c23d457a749f6dc4beb818b57c07f3965c (patch)
tree1eaa1e6f1766a9a273b923f3c9b25d1a205596ad /sys/net/ethernet.h
parent64a5046b66674afa06d7199e86ec477c3c3f92ce (diff)
downloadsrc-8d8d78c23d457a749f6dc4beb818b57c07f3965c.tar.gz
src-8d8d78c23d457a749f6dc4beb818b57c07f3965c.zip
style(9) nit. Prefer struct[space]name[space]{ to make grep searches more
in line with that we find in the rest of the tree.
Notes
Notes: svn path=/head/; revision=165724
Diffstat (limited to 'sys/net/ethernet.h')
-rw-r--r--sys/net/ethernet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/ethernet.h b/sys/net/ethernet.h
index 1b89416b9b64..26971fa6dd17 100644
--- a/sys/net/ethernet.h
+++ b/sys/net/ethernet.h
@@ -57,7 +57,7 @@
/*
* Structure of a 10Mb/s Ethernet header.
*/
-struct ether_header {
+struct ether_header {
u_char ether_dhost[ETHER_ADDR_LEN];
u_char ether_shost[ETHER_ADDR_LEN];
u_short ether_type;
@@ -66,7 +66,7 @@ struct ether_header {
/*
* Structure of a 48-bit Ethernet address.
*/
-struct ether_addr {
+struct ether_addr {
u_char octet[ETHER_ADDR_LEN];
} __packed;