summaryrefslogtreecommitdiffstats
path: root/sys/net/ethernet.h
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2007-01-01 21:49:39 +0000
committercsjp <csjp@FreeBSD.org>2007-01-01 21:49:39 +0000
commitb7dd55cb11065da7bd9519f54367feb994685705 (patch)
tree1eaa1e6f1766a9a273b923f3c9b25d1a205596ad /sys/net/ethernet.h
parent3abc36437884e6f609dbf23ecad73ed0de610648 (diff)
downloadFreeBSD-src-b7dd55cb11065da7bd9519f54367feb994685705.zip
FreeBSD-src-b7dd55cb11065da7bd9519f54367feb994685705.tar.gz
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.
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 1b89416..26971fa 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;
OpenPOWER on IntegriCloud