Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13788
b: refs/heads/master
c: ac57d04
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Roskin authored and David S. Miller committed Nov 10, 2005
1 parent 74a8011 commit c6b0906
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fb286bb2990a107009dbf25f6ffebeb7df77f9be
refs/heads/master: ac57d04267383829ce817e522e4ebbb39f50ae75
4 changes: 3 additions & 1 deletion trunk/include/linux/if_ether.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#ifndef _LINUX_IF_ETHER_H
#define _LINUX_IF_ETHER_H

#include <linux/types.h>

/*
* IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble
* and FCS/CRC (frame check sequence).
Expand Down Expand Up @@ -100,7 +102,7 @@
struct ethhdr {
unsigned char h_dest[ETH_ALEN]; /* destination eth addr */
unsigned char h_source[ETH_ALEN]; /* source ether addr */
unsigned short h_proto; /* packet type ID field */
__be16 h_proto; /* packet type ID field */
} __attribute__((packed));

#ifdef __KERNEL__
Expand Down

0 comments on commit c6b0906

Please sign in to comment.