Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134300
b: refs/heads/master
c: fe2918b
h: refs/heads/master
v: v3
  • Loading branch information
Graf Yang authored and David S. Miller committed Feb 6, 2009
1 parent 3401c05 commit 9678ac9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 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: 33dccbb050bbe35b88ca8cf1228dcf3e4d4b3554
refs/heads/master: fe2918b098cdbf55b69ba8762bd3de0ae64f33ff
8 changes: 4 additions & 4 deletions trunk/include/linux/if_ether.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/

#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).
* and FCS/CRC (frame check sequence).
*/

#define ETH_ALEN 6 /* Octets in one ethernet addr */
Expand Down Expand Up @@ -83,7 +83,7 @@
/*
* Non DIX types. Won't clash for 1500 types.
*/

#define ETH_P_802_3 0x0001 /* Dummy type for 802.3 frames */
#define ETH_P_AX25 0x0002 /* Dummy protocol id for AX.25 */
#define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */
Expand All @@ -109,7 +109,7 @@
/*
* This is an Ethernet frame header.
*/

struct ethhdr {
unsigned char h_dest[ETH_ALEN]; /* destination eth addr */
unsigned char h_source[ETH_ALEN]; /* source ether addr */
Expand Down
10 changes: 5 additions & 5 deletions trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct wireless_dev;
* Compute the worst case header length according to the protocols
* used.
*/

#if defined(CONFIG_WLAN_80211) || defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
# if defined(CONFIG_MAC80211_MESH)
# define LL_MAX_HEADER 128
Expand Down Expand Up @@ -124,7 +124,7 @@ struct wireless_dev;
* Network device statistics. Akin to the 2.0 ether stats but
* with byte counters.
*/

struct net_device_stats
{
unsigned long rx_packets; /* total packets received */
Expand Down Expand Up @@ -285,7 +285,7 @@ enum netdev_state_t

/*
* This structure holds at boot time configured netdevice settings. They
* are then used in the device probing.
* are then used in the device probing.
*/
struct netdev_boot_setup {
char name[IFNAMSIZ];
Expand Down Expand Up @@ -740,7 +740,7 @@ struct net_device
void *dsa_ptr; /* dsa specific data */
#endif
void *atalk_ptr; /* AppleTalk link */
void *ip_ptr; /* IPv4 specific data */
void *ip_ptr; /* IPv4 specific data */
void *dn_ptr; /* DECnet specific data */
void *ip6_ptr; /* IPv6 specific data */
void *ec_ptr; /* Econet specific data */
Expand All @@ -753,7 +753,7 @@ struct net_device
*/
unsigned long last_rx; /* Time of last Rx */
/* Interface address info used in eth_type_trans() */
unsigned char dev_addr[MAX_ADDR_LEN]; /* hw address, (before bcast
unsigned char dev_addr[MAX_ADDR_LEN]; /* hw address, (before bcast
because most packets are unicast) */

unsigned char broadcast[MAX_ADDR_LEN]; /* hw bcast add */
Expand Down

0 comments on commit 9678ac9

Please sign in to comment.