structre object question
From: kernel.lover (cranium.2003_at_gmail.com)
Date: 01/31/05
- Next message: kernel.lover: "ethernet cache question"
- Previous message: Ashwin Mittal: "KERNEL VERSION MISMATCH ERROR"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: structre object question"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: structre object question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Jan 2005 02:50:16 -0800
Hello,
In linux kernel source etheernet header is defined as structure as
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 */
} __attribute__((packed));
I want to know what __attribute__((packed)) meance?
It is not looking as a structure object then what is thati?
regards,
cranium
- Next message: kernel.lover: "ethernet cache question"
- Previous message: Ashwin Mittal: "KERNEL VERSION MISMATCH ERROR"
- Next in thread: Jens.Toerring_at_physik.fu-berlin.de: "Re: structre object question"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: structre object question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|