Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
network.c File Reference
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>
#include <linux/ppp_channel.h>
#include <linux/ppp_defs.h>
#include <linux/slab.h>
#include <linux/ppp-ioctl.h>
#include <linux/skbuff.h>
#include "network.h"
#include "hardware.h"
#include "main.h"
#include "tty.h"

Go to the source code of this file.

Data Structures

struct  ipw_network
 

Macros

#define MAX_ASSOCIATED_TTYS   2
 
#define SC_RCV_BITS   (SC_RCV_B7_1|SC_RCV_B7_0|SC_RCV_ODDP|SC_RCV_EVNP)
 

Functions

void ipwireless_network_notify_control_line_change (struct ipw_network *network, unsigned int channel_idx, unsigned int control_lines, unsigned int changed_mask)
 
void ipwireless_network_packet_received (struct ipw_network *network, unsigned int channel_idx, unsigned char *data, unsigned int length)
 
struct ipw_networkipwireless_network_create (struct ipw_hardware *hw)
 
void ipwireless_network_free (struct ipw_network *network)
 
void ipwireless_associate_network_tty (struct ipw_network *network, unsigned int channel_idx, struct ipw_tty *tty)
 
void ipwireless_disassociate_network_ttys (struct ipw_network *network, unsigned int channel_idx)
 
void ipwireless_ppp_open (struct ipw_network *network)
 
void ipwireless_ppp_close (struct ipw_network *network)
 
int ipwireless_ppp_channel_index (struct ipw_network *network)
 
int ipwireless_ppp_unit_number (struct ipw_network *network)
 
int ipwireless_ppp_mru (const struct ipw_network *network)
 

Macro Definition Documentation

#define MAX_ASSOCIATED_TTYS   2

Definition at line 33 of file network.c.

#define SC_RCV_BITS   (SC_RCV_B7_1|SC_RCV_B7_0|SC_RCV_ODDP|SC_RCV_EVNP)

Definition at line 35 of file network.c.

Function Documentation

void ipwireless_associate_network_tty ( struct ipw_network network,
unsigned int  channel_idx,
struct ipw_tty tty 
)

Definition at line 447 of file network.c.

void ipwireless_disassociate_network_ttys ( struct ipw_network network,
unsigned int  channel_idx 
)

Definition at line 460 of file network.c.

struct ipw_network* ipwireless_network_create ( struct ipw_hardware hw)
read

Definition at line 412 of file network.c.

void ipwireless_network_free ( struct ipw_network network)

Definition at line 433 of file network.c.

void ipwireless_network_notify_control_line_change ( struct ipw_network network,
unsigned int  channel_idx,
unsigned int  control_lines,
unsigned int  changed_mask 
)

Definition at line 311 of file network.c.

void ipwireless_network_packet_received ( struct ipw_network network,
unsigned int  channel_idx,
unsigned char data,
unsigned int  length 
)

Definition at line 361 of file network.c.

int ipwireless_ppp_channel_index ( struct ipw_network network)

Definition at line 484 of file network.c.

void ipwireless_ppp_close ( struct ipw_network network)

Definition at line 476 of file network.c.

int ipwireless_ppp_mru ( const struct ipw_network network)

Definition at line 510 of file network.c.

void ipwireless_ppp_open ( struct ipw_network network)

Definition at line 469 of file network.c.

int ipwireless_ppp_unit_number ( struct ipw_network network)

Definition at line 497 of file network.c.