Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
af_phonet.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <asm/unaligned.h>
#include <net/sock.h>
#include <linux/if_phonet.h>
#include <linux/phonet.h>
#include <net/phonet/phonet.h>
#include <net/phonet/pn_dev.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (phonet_header_ops)
 
int pn_skb_send (struct sock *sk, struct sk_buff *skb, const struct sockaddr_pn *target)
 
 EXPORT_SYMBOL (pn_skb_send)
 
int __init_or_module phonet_proto_register (unsigned int protocol, struct phonet_protocol *pp)
 
 EXPORT_SYMBOL (phonet_proto_register)
 
void phonet_proto_unregister (unsigned int protocol, struct phonet_protocol *pp)
 
 EXPORT_SYMBOL (phonet_proto_unregister)
 
 module_init (phonet_init)
 
 module_exit (phonet_exit)
 
 MODULE_DESCRIPTION ("Phonet protocol stack for Linux")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_NETPROTO (PF_PHONET)
 

Variables

struct header_ops phonet_header_ops
 

Function Documentation

EXPORT_SYMBOL ( phonet_header_ops  )
EXPORT_SYMBOL ( pn_skb_send  )
EXPORT_SYMBOL ( phonet_proto_register  )
EXPORT_SYMBOL ( phonet_proto_unregister  )
MODULE_ALIAS_NETPROTO ( PF_PHONET  )
MODULE_DESCRIPTION ( "Phonet protocol stack for Linux"  )
module_exit ( phonet_exit  )
module_init ( phonet_init  )
MODULE_LICENSE ( "GPL"  )
int __init_or_module phonet_proto_register ( unsigned int  protocol,
struct phonet_protocol pp 
)

Definition at line 467 of file af_phonet.c.

void phonet_proto_unregister ( unsigned int  protocol,
struct phonet_protocol pp 
)

Definition at line 490 of file af_phonet.c.

int pn_skb_send ( struct sock sk,
struct sk_buff skb,
const struct sockaddr_pn target 
)

Definition at line 237 of file af_phonet.c.

Variable Documentation

struct header_ops phonet_header_ops
Initial value:
= {
.create = pn_header_create,
.parse = pn_header_parse,
}

Definition at line 152 of file af_phonet.c.