Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
lcs_cmd Struct Reference

#include <lcs.h>

Public Member Functions

union {
   struct {
      __u8   lan_type
 
      __u8   portno
 
      __u16   parameter_count
 
      __u8   operator_flags [3]
 
      __u8   reserved [3]
 
   }   lcs_std_cmd
 
   struct {
      __u16   unused1
 
      __u16   buff_size
 
      __u8   unused2 [6]
 
   }   lcs_startup
 
   struct {
      __u8   lan_type
 
      __u8   portno
 
      __u8   unused [10]
 
      __u8   mac_addr [LCS_MAC_LENGTH]
 
      __u32   num_packets_deblocked
 
      __u32   num_packets_blocked
 
      __u32   num_packets_tx_on_lan
 
      __u32   num_tx_errors_detected
 
      __u32   num_tx_packets_disgarded
 
      __u32   num_packets_rx_from_lan
 
      __u32   num_rx_errors_detected
 
      __u32   num_rx_discarded_nobuffs_avail
 
      __u32   num_rx_packets_too_large
 
   }   lcs_lanstat_cmd
 
__attribute__ ((packed))
 

Data Fields

__u16 offset
 
__u8 type
 
__u8 slot
 
__u8 cmd_code
 
__u8 initiator
 
__u16 sequence_no
 
__u16 return_code
 

Detailed Description

Definition at line 205 of file lcs.h.

Member Function Documentation

union lcs_cmd::@5167 __attribute__ ( (packed)  )

Field Documentation

__u16 buff_size

Definition at line 223 of file lcs.h.

__u8 cmd_code

Definition at line 209 of file lcs.h.

__u8 initiator

Definition at line 210 of file lcs.h.

__u8 lan_type

Definition at line 215 of file lcs.h.

struct { ... } lcs_lanstat_cmd
struct { ... } lcs_startup
struct { ... } lcs_std_cmd

Definition at line 230 of file lcs.h.

__u32 num_packets_blocked

Definition at line 232 of file lcs.h.

__u32 num_packets_deblocked

Definition at line 231 of file lcs.h.

__u32 num_packets_rx_from_lan

Definition at line 236 of file lcs.h.

__u32 num_packets_tx_on_lan

Definition at line 233 of file lcs.h.

__u32 num_rx_discarded_nobuffs_avail

Definition at line 238 of file lcs.h.

__u32 num_rx_errors_detected

Definition at line 237 of file lcs.h.

__u32 num_rx_packets_too_large

Definition at line 239 of file lcs.h.

__u32 num_tx_errors_detected

Definition at line 234 of file lcs.h.

__u32 num_tx_packets_disgarded

Definition at line 235 of file lcs.h.

Definition at line 206 of file lcs.h.

__u8 operator_flags[3]

Definition at line 218 of file lcs.h.

__u16 parameter_count

Definition at line 217 of file lcs.h.

__u8 portno

Definition at line 216 of file lcs.h.

__u8 reserved[3]

Definition at line 219 of file lcs.h.

__u16 return_code

Definition at line 212 of file lcs.h.

__u16 sequence_no

Definition at line 211 of file lcs.h.

Definition at line 208 of file lcs.h.

Definition at line 207 of file lcs.h.

__u8 unused[10]

Definition at line 229 of file lcs.h.

__u16 unused1

Definition at line 222 of file lcs.h.

__u8 unused2[6]

Definition at line 224 of file lcs.h.


The documentation for this struct was generated from the following file: