diff options
author | csjp <csjp@FreeBSD.org> | 2007-01-01 21:49:39 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2007-01-01 21:49:39 +0000 |
commit | b7dd55cb11065da7bd9519f54367feb994685705 (patch) | |
tree | 1eaa1e6f1766a9a273b923f3c9b25d1a205596ad /sys | |
parent | 3abc36437884e6f609dbf23ecad73ed0de610648 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/net/ethernet.h | 4 |
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; |