Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
raw.c File Reference
#include <linux/types.h>
#include <linux/atomic.h>
#include <asm/byteorder.h>
#include <asm/current.h>
#include <asm/uaccess.h>
#include <asm/ioctls.h>
#include <linux/stddef.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/aio.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/spinlock.h>
#include <linux/sockios.h>
#include <linux/socket.h>
#include <linux/in.h>
#include <linux/mroute.h>
#include <linux/netdevice.h>
#include <linux/in_route.h>
#include <linux/route.h>
#include <linux/skbuff.h>
#include <net/net_namespace.h>
#include <net/dst.h>
#include <net/sock.h>
#include <linux/ip.h>
#include <linux/net.h>
#include <net/ip.h>
#include <net/icmp.h>
#include <net/udp.h>
#include <net/raw.h>
#include <net/snmp.h>
#include <net/tcp_states.h>
#include <net/inet_common.h>
#include <net/checksum.h>
#include <net/xfrm.h>
#include <linux/rtnetlink.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/netfilter.h>
#include <linux/netfilter_ipv4.h>
#include <linux/compat.h>

Go to the source code of this file.

Functions

void raw_hash_sk (struct sock *sk)
 
 EXPORT_SYMBOL_GPL (raw_hash_sk)
 
void raw_unhash_sk (struct sock *sk)
 
 EXPORT_SYMBOL_GPL (raw_unhash_sk)
 
int raw_local_deliver (struct sk_buff *skb, int protocol)
 
void raw_icmp_error (struct sk_buff *skb, int protocol, u32 info)
 
int raw_rcv (struct sock *sk, struct sk_buff *skb)
 

Variables

struct proto raw_prot
 

Function Documentation

EXPORT_SYMBOL_GPL ( raw_hash_sk  )
EXPORT_SYMBOL_GPL ( raw_unhash_sk  )
void raw_hash_sk ( struct sock sk)

Definition at line 86 of file raw.c.

void raw_icmp_error ( struct sk_buff skb,
int  protocol,
u32  info 
)

Definition at line 272 of file raw.c.

int raw_local_deliver ( struct sk_buff skb,
int  protocol 
)

Definition at line 195 of file raw.c.

int raw_rcv ( struct sock sk,
struct sk_buff skb 
)

Definition at line 311 of file raw.c.

void raw_unhash_sk ( struct sock sk)

Definition at line 100 of file raw.c.

Variable Documentation

struct proto raw_prot
Initial value:
= {
.name = "RAW",
.owner = THIS_MODULE,
.close = raw_close,
.destroy = raw_destroy,
.disconnect = udp_disconnect,
.ioctl = raw_ioctl,
.init = raw_init,
.setsockopt = raw_setsockopt,
.getsockopt = raw_getsockopt,
.sendmsg = raw_sendmsg,
.recvmsg = raw_recvmsg,
.bind = raw_bind,
.backlog_rcv = raw_rcv_skb,
.hash = raw_hash_sk,
.unhash = raw_unhash_sk,
.obj_size = sizeof(struct raw_sock),
.h.raw_hash = &raw_v4_hashinfo,
}

Definition at line 882 of file raw.c.