Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dgrp_net_ops.c File Reference
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/spinlock.h>
#include <linux/poll.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.

Macros

#define MYFLIPLEN   TBUF_MAX
 
#define TTY_FLIPBUF_SIZE   512
 
#define DEVICE_NAME_SIZE   50
 

Functions

void dgrp_register_net_hook (struct proc_dir_entry *de)
 
void dgrp_poll_handler (unsigned long arg)
 

Macro Definition Documentation

#define DEVICE_NAME_SIZE   50

Definition at line 53 of file dgrp_net_ops.c.

#define MYFLIPLEN   TBUF_MAX

Definition at line 48 of file dgrp_net_ops.c.

#define TTY_FLIPBUF_SIZE   512

Definition at line 52 of file dgrp_net_ops.c.

Function Documentation

void dgrp_poll_handler ( unsigned long  arg)

dgrp_poll_handler() – handler for poll timer

As each timer expires, it determines (a) whether the "transmit" waiter needs to be woken up, and (b) whether the poller needs to be rescheduled.

Definition at line 3523 of file dgrp_net_ops.c.

void dgrp_register_net_hook ( struct proc_dir_entry de)

Definition at line 88 of file dgrp_net_ops.c.