#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/socket.h>
#include <asm/ioctls.h>
#include <net/sock.h>
#include <linux/phonet.h>
#include <linux/export.h>
#include <net/phonet/phonet.h>
static int pn_backlog_rcv(struct sock *sk, struct sk_buff *skb);
static void pn_sock_close(struct sock *sk, long timeout)
{ … }
static int pn_ioctl(struct sock *sk, int cmd, int *karg)
{ … }
static void pn_destruct(struct sock *sk)
{ … }
static int pn_init(struct sock *sk)
{ … }
static int pn_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
{ … }
static int pn_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
int flags, int *addr_len)
{ … }
static int pn_backlog_rcv(struct sock *sk, struct sk_buff *skb)
{ … }
static struct proto pn_proto = …;
static const struct phonet_protocol pn_dgram_proto = …;
int __init isi_register(void)
{ … }
void __exit isi_unregister(void)
{ … }