Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ipx.h File Reference
#include <linux/netdevice.h>
#include <net/datalink.h>
#include <linux/ipx.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <net/sock.h>

Go to the source code of this file.

Data Structures

struct  ipx_address
 
struct  ipxhdr
 
struct  ipx_interface
 
struct  ipx_route
 
struct  ipx_cb
 
struct  ipx_sock
 

Macros

#define ipx_broadcast_node   "\377\377\377\377\377\377"
 
#define ipx_this_node   "\0\0\0\0\0\0"
 
#define IPX_MAX_PPROP_HOPS   8
 
#define IPX_NO_CHECKSUM   cpu_to_be16(0xFFFF)
 
#define IPX_TYPE_UNKNOWN   0x00
 
#define IPX_TYPE_RIP   0x01 /* may also be 0 */
 
#define IPX_TYPE_SAP   0x04 /* may also be 0 */
 
#define IPX_TYPE_SPX   0x05 /* SPX protocol */
 
#define IPX_TYPE_NCP   0x11 /* $lots for docs on this (SPIT) */
 
#define IPX_TYPE_PPROP   0x14 /* complicated flood fill brdcast */
 
#define IPX_SKB_CB(__skb)   ((struct ipx_cb *)&((__skb)->cb[0]))
 
#define IPX_MIN_EPHEMERAL_SOCKET   0x4000
 
#define IPX_MAX_EPHEMERAL_SOCKET   0x7fff
 

Functions

struct ipx_interfaceipx_interfaces_head (void)
 
int ipx_proc_init (void)
 
void ipx_proc_exit (void)
 
const charipx_frame_name (__be16)
 
const charipx_device_name (struct ipx_interface *intrfc)
 
void ipxitf_down (struct ipx_interface *intrfc)
 

Variables

struct list_head ipx_routes
 
rwlock_t ipx_routes_lock
 
struct list_head ipx_interfaces
 
spinlock_t ipx_interfaces_lock
 
struct ipx_interfaceipx_primary_net
 

Macro Definition Documentation

#define ipx_broadcast_node   "\377\377\377\377\377\377"

Definition at line 24 of file ipx.h.

#define IPX_MAX_EPHEMERAL_SOCKET   0x7fff

Definition at line 120 of file ipx.h.

#define IPX_MAX_PPROP_HOPS   8

Definition at line 27 of file ipx.h.

#define IPX_MIN_EPHEMERAL_SOCKET   0x4000

Definition at line 119 of file ipx.h.

#define IPX_NO_CHECKSUM   cpu_to_be16(0xFFFF)

Definition at line 31 of file ipx.h.

#define IPX_SKB_CB (   __skb)    ((struct ipx_cb *)&((__skb)->cb[0]))

Definition at line 117 of file ipx.h.

#define ipx_this_node   "\0\0\0\0\0\0"

Definition at line 25 of file ipx.h.

#define IPX_TYPE_NCP   0x11 /* $lots for docs on this (SPIT) */

Definition at line 39 of file ipx.h.

#define IPX_TYPE_PPROP   0x14 /* complicated flood fill brdcast */

Definition at line 40 of file ipx.h.

#define IPX_TYPE_RIP   0x01 /* may also be 0 */

Definition at line 36 of file ipx.h.

#define IPX_TYPE_SAP   0x04 /* may also be 0 */

Definition at line 37 of file ipx.h.

#define IPX_TYPE_SPX   0x05 /* SPX protocol */

Definition at line 38 of file ipx.h.

#define IPX_TYPE_UNKNOWN   0x00

Definition at line 35 of file ipx.h.

Function Documentation

const char* ipx_device_name ( struct ipx_interface intrfc)

Definition at line 1276 of file af_ipx.c.

const char* ipx_frame_name ( __be16  )

Definition at line 1262 of file af_ipx.c.

struct ipx_interface* ipx_interfaces_head ( void  )
read

Definition at line 96 of file af_ipx.c.

void ipx_proc_exit ( void  )

Definition at line 337 of file ipx_proc.c.

int ipx_proc_init ( void  )

Definition at line 332 of file ipx_proc.c.

void ipxitf_down ( struct ipx_interface intrfc)

Definition at line 319 of file af_ipx.c.

Variable Documentation

struct list_head ipx_interfaces
spinlock_t ipx_interfaces_lock
struct ipx_interface* ipx_primary_net

Definition at line 84 of file af_ipx.c.

struct list_head ipx_routes
rwlock_t ipx_routes_lock