Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
phonet.h File Reference

Go to the source code of this file.

Data Structures

struct  pn_sock
 
struct  phonet_protocol
 

Macros

#define MAX_PHONET_HEADER   (8 + MAX_HEADER)
 

Functions

void pn_sock_init (void)
 
struct sockpn_find_sock_by_sa (struct net *net, const struct sockaddr_pn *sa)
 
void pn_deliver_sock_broadcast (struct net *net, struct sk_buff *skb)
 
void phonet_get_local_port_range (int *min, int *max)
 
void pn_sock_hash (struct sock *sk)
 
void pn_sock_unhash (struct sock *sk)
 
int pn_sock_get_port (struct sock *sk, unsigned short sport)
 
struct sockpn_find_sock_by_res (struct net *net, u8 res)
 
int pn_sock_bind_res (struct sock *sock, u8 res)
 
int pn_sock_unbind_res (struct sock *sk, u8 res)
 
void pn_sock_unbind_all_res (struct sock *sk)
 
int pn_skb_send (struct sock *sk, struct sk_buff *skb, const struct sockaddr_pn *target)
 
int phonet_proto_register (unsigned int protocol, struct phonet_protocol *pp)
 
void phonet_proto_unregister (unsigned int protocol, struct phonet_protocol *pp)
 
int phonet_sysctl_init (void)
 
void phonet_sysctl_exit (void)
 
int isi_register (void)
 
void isi_unregister (void)
 

Variables

struct proto_ops phonet_dgram_ops
 

Macro Definition Documentation

#define MAX_PHONET_HEADER   (8 + MAX_HEADER)

Definition at line 30 of file phonet.h.

Function Documentation

int isi_register ( void  )

Definition at line 207 of file datagram.c.

void isi_unregister ( void  )

Definition at line 212 of file datagram.c.

void phonet_get_local_port_range ( int min,
int max 
)

Definition at line 51 of file sysctl.c.

int 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.

void phonet_sysctl_exit ( void  )

Definition at line 107 of file sysctl.c.

int phonet_sysctl_init ( void  )

Definition at line 101 of file sysctl.c.

void pn_deliver_sock_broadcast ( struct net net,
struct sk_buff skb 
)

Definition at line 116 of file socket.c.

struct sock* pn_find_sock_by_res ( struct net net,
u8  res 
)
read

Definition at line 653 of file socket.c.

struct sock* pn_find_sock_by_sa ( struct net net,
const struct sockaddr_pn sa 
)
read

Definition at line 77 of file socket.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.

int pn_sock_bind_res ( struct sock sock,
u8  res 
)

Definition at line 670 of file socket.c.

int pn_sock_get_port ( struct sock sk,
unsigned short  sport 
)

Definition at line 493 of file socket.c.

void pn_sock_hash ( struct sock sk)

Definition at line 145 of file socket.c.

void pn_sock_init ( void  )

Definition at line 59 of file socket.c.

void pn_sock_unbind_all_res ( struct sock sk)

Definition at line 712 of file socket.c.

int pn_sock_unbind_res ( struct sock sk,
u8  res 
)

Definition at line 691 of file socket.c.

void pn_sock_unhash ( struct sock sk)

Definition at line 155 of file socket.c.

Variable Documentation

struct proto_ops phonet_dgram_ops

Definition at line 441 of file socket.c.