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

Go to the source code of this file.

Functions

 LIST_HEAD (ipx_routes)
 
 DEFINE_RWLOCK (ipx_routes_lock)
 
__be16 ipx_cksum (struct ipxhdr *packet, int length)
 
struct ipx_interfaceipxitf_find_using_net (__be32 net)
 
int ipxitf_demux_socket (struct ipx_interface *intrfc, struct sk_buff *skb, int copy)
 
int ipxitf_send (struct ipx_interface *intrfc, struct sk_buff *skb, char *node)
 
struct ipx_routeipxrtr_lookup (__be32 net)
 
int ipxrtr_add_route (__be32 network, struct ipx_interface *intrfc, unsigned char *node)
 
void ipxrtr_del_routes (struct ipx_interface *intrfc)
 
int ipxrtr_route_skb (struct sk_buff *skb)
 
int ipxrtr_route_packet (struct sock *sk, struct sockaddr_ipx *usipx, struct iovec *iov, size_t len, int noblock)
 
int ipxrtr_ioctl (unsigned int cmd, void __user *arg)
 

Variables

struct ipx_interfaceipx_internal_net
 

Function Documentation

DEFINE_RWLOCK ( ipx_routes_lock  )
__be16 ipx_cksum ( struct ipxhdr packet,
int  length 
)

Definition at line 1223 of file af_ipx.c.

int ipxitf_demux_socket ( struct ipx_interface intrfc,
struct sk_buff skb,
int  copy 
)
struct ipx_interface* ipxitf_find_using_net ( __be32  net)
read

Definition at line 193 of file af_ipx.c.

int ipxitf_send ( struct ipx_interface intrfc,
struct sk_buff skb,
char node 
)

Definition at line 581 of file af_ipx.c.

int ipxrtr_add_route ( __be32  network,
struct ipx_interface intrfc,
unsigned char node 
)

Definition at line 52 of file ipx_route.c.

void ipxrtr_del_routes ( struct ipx_interface intrfc)

Definition at line 94 of file ipx_route.c.

int ipxrtr_ioctl ( unsigned int  cmd,
void __user arg 
)

Definition at line 261 of file ipx_route.c.

struct ipx_route* ipxrtr_lookup ( __be32  net)
read

Definition at line 33 of file ipx_route.c.

int ipxrtr_route_packet ( struct sock sk,
struct sockaddr_ipx usipx,
struct iovec iov,
size_t  len,
int  noblock 
)

Definition at line 171 of file ipx_route.c.

int ipxrtr_route_skb ( struct sk_buff skb)

Definition at line 149 of file ipx_route.c.

LIST_HEAD ( ipx_routes  )

Variable Documentation

struct ipx_interface* ipx_internal_net

Definition at line 85 of file af_ipx.c.