Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
unicast.h File Reference
#include "packet.h"

Go to the source code of this file.

Macros

#define BATADV_FRAG_TIMEOUT   10000 /* purge frag list entries after time in ms */
 
#define BATADV_FRAG_BUFFER_SIZE   6 /* number of list elements in buffer */
 

Functions

int batadv_frag_reassemble_skb (struct sk_buff *skb, struct batadv_priv *bat_priv, struct sk_buff **new_skb)
 
void batadv_frag_list_free (struct list_head *head)
 
int batadv_unicast_send_skb (struct sk_buff *skb, struct batadv_priv *bat_priv)
 
int batadv_frag_send_skb (struct sk_buff *skb, struct batadv_priv *bat_priv, struct batadv_hard_iface *hard_iface, const uint8_t dstaddr[])
 

Macro Definition Documentation

#define BATADV_FRAG_BUFFER_SIZE   6 /* number of list elements in buffer */

Definition at line 26 of file unicast.h.

#define BATADV_FRAG_TIMEOUT   10000 /* purge frag list entries after time in ms */

Definition at line 25 of file unicast.h.

Function Documentation

void batadv_frag_list_free ( struct list_head head)

Definition at line 160 of file unicast.c.

int batadv_frag_reassemble_skb ( struct sk_buff skb,
struct batadv_priv bat_priv,
struct sk_buff **  new_skb 
)

Definition at line 181 of file unicast.c.

int batadv_frag_send_skb ( struct sk_buff skb,
struct batadv_priv bat_priv,
struct batadv_hard_iface hard_iface,
const uint8_t  dstaddr[] 
)

Definition at line 226 of file unicast.c.

int batadv_unicast_send_skb ( struct sk_buff skb,
struct batadv_priv bat_priv 
)

Definition at line 294 of file unicast.c.