Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ip_output.c File Reference
#include <asm/uaccess.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/highmem.h>
#include <linux/slab.h>
#include <linux/socket.h>
#include <linux/sockios.h>
#include <linux/in.h>
#include <linux/inet.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <net/snmp.h>
#include <net/ip.h>
#include <net/protocol.h>
#include <net/route.h>
#include <net/xfrm.h>
#include <linux/skbuff.h>
#include <net/sock.h>
#include <net/arp.h>
#include <net/icmp.h>
#include <net/checksum.h>
#include <net/inetpeer.h>
#include <linux/igmp.h>
#include <linux/netfilter_ipv4.h>
#include <linux/netfilter_bridge.h>
#include <linux/mroute.h>
#include <linux/netlink.h>
#include <linux/tcp.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (sysctl_ip_default_ttl)
 
__inline__ void ip_send_check (struct iphdr *iph)
 
 EXPORT_SYMBOL (ip_send_check)
 
int __ip_local_out (struct sk_buff *skb)
 
int ip_local_out (struct sk_buff *skb)
 
 EXPORT_SYMBOL_GPL (ip_local_out)
 
int ip_build_and_send_pkt (struct sk_buff *skb, struct sock *sk, __be32 saddr, __be32 daddr, struct ip_options_rcu *opt)
 
 EXPORT_SYMBOL_GPL (ip_build_and_send_pkt)
 
int ip_mc_output (struct sk_buff *skb)
 
int ip_output (struct sk_buff *skb)
 
int ip_queue_xmit (struct sk_buff *skb, struct flowi *fl)
 
 EXPORT_SYMBOL (ip_queue_xmit)
 
int ip_fragment (struct sk_buff *skb, int(*output)(struct sk_buff *))
 
 EXPORT_SYMBOL (ip_fragment)
 
int ip_generic_getfrag (void *from, char *to, int offset, int len, int odd, struct sk_buff *skb)
 
 EXPORT_SYMBOL (ip_generic_getfrag)
 
int ip_append_data (struct sock *sk, struct flowi4 *fl4, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, int length, int transhdrlen, struct ipcm_cookie *ipc, struct rtable **rtp, unsigned int flags)
 
ssize_t ip_append_page (struct sock *sk, struct flowi4 *fl4, struct page *page, int offset, size_t size, int flags)
 
struct sk_buff__ip_make_skb (struct sock *sk, struct flowi4 *fl4, struct sk_buff_head *queue, struct inet_cork *cork)
 
int ip_send_skb (struct net *net, struct sk_buff *skb)
 
int ip_push_pending_frames (struct sock *sk, struct flowi4 *fl4)
 
void ip_flush_pending_frames (struct sock *sk)
 
struct sk_buffip_make_skb (struct sock *sk, struct flowi4 *fl4, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, int length, int transhdrlen, struct ipcm_cookie *ipc, struct rtable **rtp, unsigned int flags)
 
void ip_send_unicast_reply (struct net *net, struct sk_buff *skb, __be32 daddr, __be32 saddr, const struct ip_reply_arg *arg, unsigned int len)
 
void __init ip_init (void)
 

Variables

int sysctl_ip_default_ttl __read_mostly = IPDEFTTL
 

Function Documentation

int __ip_local_out ( struct sk_buff skb)

Definition at line 94 of file ip_output.c.

struct sk_buff* __ip_make_skb ( struct sock sk,
struct flowi4 fl4,
struct sk_buff_head queue,
struct inet_cork cork 
)
read

Definition at line 1267 of file ip_output.c.

EXPORT_SYMBOL ( sysctl_ip_default_ttl  )
EXPORT_SYMBOL ( ip_send_check  )
EXPORT_SYMBOL ( ip_queue_xmit  )
EXPORT_SYMBOL ( ip_fragment  )
EXPORT_SYMBOL ( ip_generic_getfrag  )
EXPORT_SYMBOL_GPL ( ip_local_out  )
EXPORT_SYMBOL_GPL ( ip_build_and_send_pkt  )
int ip_append_data ( struct sock sk,
struct flowi4 fl4,
int   getfragvoid *from, char *to, int offset, int len,int odd, struct sk_buff *skb,
void from,
int  length,
int  transhdrlen,
struct ipcm_cookie ipc,
struct rtable **  rtp,
unsigned int  flags 
)

Definition at line 1083 of file ip_output.c.

ssize_t ip_append_page ( struct sock sk,
struct flowi4 fl4,
struct page page,
int  offset,
size_t  size,
int  flags 
)

Definition at line 1109 of file ip_output.c.

int ip_build_and_send_pkt ( struct sk_buff skb,
struct sock sk,
__be32  saddr,
__be32  daddr,
struct ip_options_rcu opt 
)

Definition at line 129 of file ip_output.c.

void ip_flush_pending_frames ( struct sock sk)

Definition at line 1398 of file ip_output.c.

int ip_fragment ( struct sk_buff skb,
int(*)(struct sk_buff *)  output 
)

Definition at line 450 of file ip_output.c.

int ip_generic_getfrag ( void from,
char to,
int  offset,
int  len,
int  odd,
struct sk_buff skb 
)

Definition at line 717 of file ip_output.c.

void __init ip_init ( void  )

Definition at line 1536 of file ip_output.c.

int ip_local_out ( struct sk_buff skb)

Definition at line 104 of file ip_output.c.

struct sk_buff* ip_make_skb ( struct sock sk,
struct flowi4 fl4,
int   getfragvoid *from, char *to, int offset,int len, int odd, struct sk_buff *skb,
void from,
int  length,
int  transhdrlen,
struct ipcm_cookie ipc,
struct rtable **  rtp,
unsigned int  flags 
)
read

Definition at line 1403 of file ip_output.c.

int ip_mc_output ( struct sk_buff skb)

Definition at line 237 of file ip_output.c.

int ip_output ( struct sk_buff skb)

Definition at line 298 of file ip_output.c.

int ip_push_pending_frames ( struct sock sk,
struct flowi4 fl4 
)

Definition at line 1371 of file ip_output.c.

int ip_queue_xmit ( struct sk_buff skb,
struct flowi fl 
)

Definition at line 326 of file ip_output.c.

__inline__ void ip_send_check ( struct iphdr iph)

Definition at line 87 of file ip_output.c.

int ip_send_skb ( struct net net,
struct sk_buff skb 
)

Definition at line 1356 of file ip_output.c.

void ip_send_unicast_reply ( struct net net,
struct sk_buff skb,
__be32  daddr,
__be32  saddr,
const struct ip_reply_arg arg,
unsigned int  len 
)

Definition at line 1470 of file ip_output.c.

Variable Documentation

Definition at line 83 of file ip_output.c.