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/errno.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/slab.h>
#include <linux/sockios.h>
#include <linux/net.h>
#include <linux/in6.h>
#include <linux/netdevice.h>
#include <linux/if_arp.h>
#include <linux/icmpv6.h>
#include <linux/netfilter.h>
#include <linux/netfilter_ipv6.h>
#include <linux/skbuff.h>
#include <linux/compat.h>
#include <asm/uaccess.h>
#include <asm/ioctls.h>
#include <net/net_namespace.h>
#include <net/ip.h>
#include <net/sock.h>
#include <net/snmp.h>
#include <net/ipv6.h>
#include <net/ndisc.h>
#include <net/protocol.h>
#include <net/ip6_route.h>
#include <net/ip6_checksum.h>
#include <net/addrconf.h>
#include <net/transp_v6.h>
#include <net/udp.h>
#include <net/inet_common.h>
#include <net/tcp_states.h>
#include <linux/mroute6.h>
#include <net/raw.h>
#include <net/rawv6.h>
#include <net/xfrm.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/export.h>

Go to the source code of this file.

Functions

bool raw6_local_deliver (struct sk_buff *skb, int nexthdr)
 
void raw6_icmp_error (struct sk_buff *skb, int nexthdr, u8 type, u8 code, int inner_offset, __be32 info)
 
int rawv6_rcv (struct sock *sk, struct sk_buff *skb)
 
int __init rawv6_init (void)
 
void rawv6_exit (void)
 

Variables

struct proto rawv6_prot
 

Function Documentation

void raw6_icmp_error ( struct sk_buff skb,
int  nexthdr,
u8  type,
u8  code,
int  inner_offset,
__be32  info 
)

Definition at line 349 of file raw.c.

bool raw6_local_deliver ( struct sk_buff skb,
int  nexthdr 
)

Definition at line 227 of file raw.c.

void rawv6_exit ( void  )

Definition at line 1368 of file raw.c.

int __init rawv6_init ( void  )

Definition at line 1357 of file raw.c.

int rawv6_rcv ( struct sock sk,
struct sk_buff skb 
)

Definition at line 404 of file raw.c.

Variable Documentation

struct proto rawv6_prot
Initial value:
= {
.name = "RAWv6",
.owner = THIS_MODULE,
.close = rawv6_close,
.destroy = raw6_destroy,
.disconnect = udp_disconnect,
.ioctl = rawv6_ioctl,
.init = rawv6_init_sk,
.setsockopt = rawv6_setsockopt,
.getsockopt = rawv6_getsockopt,
.sendmsg = rawv6_sendmsg,
.recvmsg = rawv6_recvmsg,
.bind = rawv6_bind,
.backlog_rcv = rawv6_rcv_skb,
.hash = raw_hash_sk,
.unhash = raw_unhash_sk,
.obj_size = sizeof(struct raw6_sock),
.h.raw_hash = &raw_v6_hashinfo,
}

Definition at line 1204 of file raw.c.