Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dgrp_dpa_ops.c File Reference
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/tty.h>
#include <linux/poll.h>
#include <linux/cred.h>
#include <linux/sched.h>
#include <linux/ratelimit.h>
#include <asm/unaligned.h>
#include "dgrp_common.h"

Go to the source code of this file.

Data Structures

struct  digi_node
 
struct  digi_chan
 
struct  digi_vpd
 
struct  digi_debug
 

Macros

#define DIGI_GETNODE   (('d'<<8) | 249) /* get board info */
 
#define DIGI_GETCHAN   (('d'<<8) | 248) /* get channel info */
 
#define DIGI_GETVPD   (('d'<<8) | 246) /* get VPD info */
 
#define DIGI_SETDEBUG   (('d'<<8) | 247) /* set debug info */
 

Functions

void dgrp_register_dpa_hook (struct proc_dir_entry *de)
 
void dgrp_dpa_data (struct nd_struct *nd, int type, u8 *buf, int size)
 

Macro Definition Documentation

#define DIGI_GETCHAN   (('d'<<8) | 248) /* get channel info */

Definition at line 95 of file dgrp_dpa_ops.c.

#define DIGI_GETNODE   (('d'<<8) | 249) /* get board info */

Definition at line 78 of file dgrp_dpa_ops.c.

#define DIGI_GETVPD   (('d'<<8) | 246) /* get VPD info */

Definition at line 103 of file dgrp_dpa_ops.c.

#define DIGI_SETDEBUG   (('d'<<8) | 247) /* set debug info */

Definition at line 111 of file dgrp_dpa_ops.c.

Function Documentation

void dgrp_dpa_data ( struct nd_struct nd,
int  type,
u8 buf,
int  size 
)

dgrp_monitor_data() – builds a DPA data packet : pointer to a node structure : type of message to be logged in the DPA buffer : buffer of data to be logged in the DPA buffer – number of bytes in the "buf" buffer

Definition at line 546 of file dgrp_dpa_ops.c.

void dgrp_register_dpa_hook ( struct proc_dir_entry de)

Definition at line 114 of file dgrp_dpa_ops.c.