Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
exthdrs.c File Reference
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/sockios.h>
#include <linux/net.h>
#include <linux/netdevice.h>
#include <linux/in6.h>
#include <linux/icmpv6.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <net/dst.h>
#include <net/sock.h>
#include <net/snmp.h>
#include <net/ipv6.h>
#include <net/protocol.h>
#include <net/transp_v6.h>
#include <net/rawv6.h>
#include <net/ndisc.h>
#include <net/ip6_route.h>
#include <net/addrconf.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Data Structures

struct  tlvtype_proc
 

Functions

int ipv6_find_tlv (struct sk_buff *skb, int offset, int type)
 
 EXPORT_SYMBOL_GPL (ipv6_find_tlv)
 
int __init ipv6_exthdrs_init (void)
 
void ipv6_exthdrs_exit (void)
 
int ipv6_parse_hopopts (struct sk_buff *skb)
 
void ipv6_push_nfrag_opts (struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto, struct in6_addr **daddr)
 
 EXPORT_SYMBOL (ipv6_push_nfrag_opts)
 
void ipv6_push_frag_opts (struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto)
 
struct ipv6_txoptionsipv6_dup_options (struct sock *sk, struct ipv6_txoptions *opt)
 
 EXPORT_SYMBOL_GPL (ipv6_dup_options)
 
struct ipv6_txoptionsipv6_renew_options (struct sock *sk, struct ipv6_txoptions *opt, int newtype, struct ipv6_opt_hdr __user *newopt, int newoptlen)
 
struct ipv6_txoptionsipv6_fixup_options (struct ipv6_txoptions *opt_space, struct ipv6_txoptions *opt)
 
 EXPORT_SYMBOL_GPL (ipv6_fixup_options)
 
struct in6_addrfl6_update_dst (struct flowi6 *fl6, const struct ipv6_txoptions *opt, struct in6_addr *orig)
 
 EXPORT_SYMBOL_GPL (fl6_update_dst)
 

Function Documentation

EXPORT_SYMBOL ( ipv6_push_nfrag_opts  )
EXPORT_SYMBOL_GPL ( ipv6_find_tlv  )
EXPORT_SYMBOL_GPL ( ipv6_dup_options  )
EXPORT_SYMBOL_GPL ( ipv6_fixup_options  )
EXPORT_SYMBOL_GPL ( fl6_update_dst  )
struct in6_addr* fl6_update_dst ( struct flowi6 fl6,
const struct ipv6_txoptions opt,
struct in6_addr orig 
)
read

fl6_update_dst - update flowi destination address with info given by srcrt option, if any.

: flowi6 for which daddr is to be updated : struct ipv6_txoptions in which to look for srcrt opt : copy of original daddr address if modified

Returns NULL if no txoptions or no srcrt, otherwise returns orig and initial value of fl6->daddr set in orig

Definition at line 912 of file exthdrs.c.

struct ipv6_txoptions* ipv6_dup_options ( struct sock sk,
struct ipv6_txoptions opt 
)
read

Definition at line 763 of file exthdrs.c.

void ipv6_exthdrs_exit ( void  )

Definition at line 569 of file exthdrs.c.

int __init ipv6_exthdrs_init ( void  )

Definition at line 544 of file exthdrs.c.

int ipv6_find_tlv ( struct sk_buff skb,
int  offset,
int  type 
)

Definition at line 52 of file exthdrs.c.

struct ipv6_txoptions* ipv6_fixup_options ( struct ipv6_txoptions opt_space,
struct ipv6_txoptions opt 
)
read

Definition at line 881 of file exthdrs.c.

int ipv6_parse_hopopts ( struct sk_buff skb)

Definition at line 667 of file exthdrs.c.

void ipv6_push_frag_opts ( struct sk_buff skb,
struct ipv6_txoptions opt,
u8 proto 
)

Definition at line 756 of file exthdrs.c.

void ipv6_push_nfrag_opts ( struct sk_buff skb,
struct ipv6_txoptions opt,
u8 proto,
struct in6_addr **  daddr 
)

Definition at line 738 of file exthdrs.c.

struct ipv6_txoptions* ipv6_renew_options ( struct sock sk,
struct ipv6_txoptions opt,
int  newtype,
struct ipv6_opt_hdr __user newopt,
int  newoptlen 
)
read

Definition at line 810 of file exthdrs.c.