Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
inet_lro.h File Reference
#include <net/ip.h>
#include <net/tcp.h>

Go to the source code of this file.

Data Structures

struct  net_lro_stats
 
struct  net_lro_desc
 
struct  net_lro_mgr
 

Macros

#define LRO_F_NAPI   1 /* Pass packets to stack via NAPI */
 
#define LRO_F_EXTRACT_VLAN_ID
 
#define LRO_IPV4   1 /* ip_hdr is IPv4 header */
 
#define LRO_TCP   2 /* tcpudp_hdr is TCP header */
 

Functions

void lro_receive_skb (struct net_lro_mgr *lro_mgr, struct sk_buff *skb, void *priv)
 
void lro_receive_frags (struct net_lro_mgr *lro_mgr, struct skb_frag_struct *frags, int len, int true_size, void *priv, __wsum sum)
 
void lro_flush_all (struct net_lro_mgr *lro_mgr)
 
void lro_flush_pkt (struct net_lro_mgr *lro_mgr, struct iphdr *iph, struct tcphdr *tcph)
 

Macro Definition Documentation

#define LRO_F_EXTRACT_VLAN_ID
Value:
2 /* Set flag if VLAN IDs are extracted
from received packets and eth protocol
is still ETH_P_8021Q */

Definition at line 81 of file inet_lro.h.

#define LRO_F_NAPI   1 /* Pass packets to stack via NAPI */

Definition at line 80 of file inet_lro.h.

#define LRO_IPV4   1 /* ip_hdr is IPv4 header */

Definition at line 108 of file inet_lro.h.

#define LRO_TCP   2 /* tcpudp_hdr is TCP header */

Definition at line 109 of file inet_lro.h.

Function Documentation

void lro_flush_all ( struct net_lro_mgr lro_mgr)

Definition at line 527 of file inet_lro.c.

void lro_flush_pkt ( struct net_lro_mgr lro_mgr,
struct iphdr iph,
struct tcphdr tcph 
)

Definition at line 539 of file inet_lro.c.

void lro_receive_frags ( struct net_lro_mgr lro_mgr,
struct skb_frag_struct frags,
int  len,
int  true_size,
void priv,
__wsum  sum 
)

Definition at line 510 of file inet_lro.c.

void lro_receive_skb ( struct net_lro_mgr lro_mgr,
struct sk_buff skb,
void priv 
)

Definition at line 497 of file inet_lro.c.