#include "conntrackd.h"
#include "network.h"
#include "log.h"
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include "cache.h"
Macros | |
#define | NETHDR_ALIGNTO 4 |
Functions | |
int | nethdr_align (int value) |
int | nethdr_size (int len) |
void | nethdr_set (struct nethdr *net, int type) |
void | nethdr_set_ack (struct nethdr *net) |
void | nethdr_set_ctl (struct nethdr *net) |
int | nethdr_track_seq (uint32_t seq, uint32_t *exp_seq) |
void | nethdr_track_update_seq (uint32_t seq) |
int | nethdr_track_is_seq_set () |
int | object_status_to_network_type (struct cache_object *obj) |
#define NETHDR_ALIGNTO 4 |
Referenced by nethdr_align().
int nethdr_align | ( | int | value | ) |
References NETHDR_ALIGNTO.
References NETHDR_SIZ, nethdr::type, and type.
References NETHDR_ACK_SIZ.
References NETHDR_SIZ.
int nethdr_size | ( | int | len | ) |
References len, and NETHDR_SIZ.
int nethdr_track_is_seq_set | ( | void | ) |
int nethdr_track_seq | ( | uint32_t | seq, |
uint32_t * | exp_seq | ||
) |
References after, error, SEQ_AFTER, SEQ_BEFORE, SEQ_IN_SYNC, SEQ_UNKNOWN, SEQ_UNSET, and STATE_SYNC.
void nethdr_track_update_seq | ( | uint32_t | seq | ) |
References STATE_SYNC.
int object_status_to_network_type | ( | struct cache_object * | obj | ) |
References cache_object::cache, cache_object::status, and cache::type.