Linux Kernel
3.7.1
|
#include <linux/gfp.h>
#include <linux/kernel.h>
#include <linux/net.h>
#include <linux/poll.h>
#include <net/sock.h>
#include <net/tcp_states.h>
#include <linux/phonet.h>
#include <linux/export.h>
#include <net/phonet/phonet.h>
#include <net/phonet/pep.h>
#include <net/phonet/pn_dev.h>
Go to the source code of this file.
Macros | |
#define | PN_HASHSIZE 16 |
#define | PN_HASHMASK (PN_HASHSIZE-1) |
Functions | |
void __init | pn_sock_init (void) |
struct sock * | pn_find_sock_by_sa (struct net *net, const struct sockaddr_pn *spn) |
void | pn_deliver_sock_broadcast (struct net *net, struct sk_buff *skb) |
void | pn_sock_hash (struct sock *sk) |
EXPORT_SYMBOL (pn_sock_hash) | |
void | pn_sock_unhash (struct sock *sk) |
EXPORT_SYMBOL (pn_sock_unhash) | |
EXPORT_SYMBOL (phonet_stream_ops) | |
int | pn_sock_get_port (struct sock *sk, unsigned short sport) |
EXPORT_SYMBOL (pn_sock_get_port) | |
struct sock * | pn_find_sock_by_res (struct net *net, u8 res) |
int | pn_sock_bind_res (struct sock *sk, u8 res) |
int | pn_sock_unbind_res (struct sock *sk, u8 res) |
void | pn_sock_unbind_all_res (struct sock *sk) |
Variables | |
struct proto_ops | phonet_dgram_ops |
struct proto_ops | phonet_stream_ops |
#define PN_HASHMASK (PN_HASHSIZE-1) |
EXPORT_SYMBOL | ( | pn_sock_hash | ) |
EXPORT_SYMBOL | ( | pn_sock_unhash | ) |
EXPORT_SYMBOL | ( | phonet_stream_ops | ) |
EXPORT_SYMBOL | ( | pn_sock_get_port | ) |
struct hlist_head hlist[PN_HASHSIZE] |