libnd_tpm

Name

libnd_tpm -- 

Functions

LND_TPM *libnd_tpm_new ()
voidlibnd_tpm_free ()
gbooleanlibnd_tpm_read_packet ()
voidlibnd_tpm_load_packets ()
voidlibnd_tpm_load_prev_part ()
voidlibnd_tpm_load_next_part ()
voidlibnd_tpm_set_output_file ()
guintlibnd_tpm_num_memory_packets ()
voidlibnd_tpm_clear_current_part ()
voidlibnd_tpm_add_part ()
gbooleanlibnd_tpm_remove_part ()
pcapnav_result_tlibnd_tpm_goto_ts ()
pcapnav_result_tlibnd_tpm_goto_fraction ()
gbooleanlibnd_tpm_goto_loc ()
gbooleanlibnd_tpm_is_tp_overlap ()
off_tlibnd_tpm_map_loc_to_offset ()
pcapnav_result_tlibnd_tpm_map_offset_to_loc ()
gbooleanlibnd_tpm_map_loc_to_timestamp ()
pcapnav_result_tlibnd_tpm_map_fraction_to_loc ()
pcapnav_result_tlibnd_tpm_map_timestamp_to_loc ()
off_tlibnd_tpm_get_offset ()
gbooleanlibnd_tpm_find_locs ()
doublelibnd_tpm_get_space_fraction ()
doublelibnd_tpm_get_time_fraction ()
doublelibnd_tpm_get_rel_size ()
LND_Packet *libnd_tpm_get_packets ()
LND_Packet *libnd_tpm_get_sel ()
voidlibnd_tpm_pcap_read_handler ()
voidlibnd_tpm_dump_parts ()

Types and Values

enumLND_TPM_NavMode

Description

Functions

libnd_tpm_new ()

LND_TPM *
libnd_tpm_new (LND_Trace *trace);


libnd_tpm_free ()

void
libnd_tpm_free (LND_TPM *tpm);


libnd_tpm_read_packet ()

gboolean
libnd_tpm_read_packet (LND_TPM *tpm,
                       LND_Packet *packet);


libnd_tpm_load_packets ()

void
libnd_tpm_load_packets (LND_TPM *tpm);


libnd_tpm_load_prev_part ()

void
libnd_tpm_load_prev_part (LND_TPM *tpm);


libnd_tpm_load_next_part ()

void
libnd_tpm_load_next_part (LND_TPM *tpm);


libnd_tpm_set_output_file ()

void
libnd_tpm_set_output_file (LND_TPM *tpm,
                           const char *filename);


libnd_tpm_num_memory_packets ()

guint
libnd_tpm_num_memory_packets ();


libnd_tpm_clear_current_part ()

void
libnd_tpm_clear_current_part (LND_TPM *tpm,
                              gboolean emit_signal);


libnd_tpm_add_part ()

void
libnd_tpm_add_part (LND_TPM *tpm,
                    LND_TracePart *tp);


libnd_tpm_remove_part ()

gboolean
libnd_tpm_remove_part (LND_TPM *tpm,
                       LND_TracePart *tp);


libnd_tpm_goto_ts ()

pcapnav_result_t
libnd_tpm_goto_ts (LND_TPM *tpm,
                   struct bpf_timeval *timestamp);


libnd_tpm_goto_fraction ()

pcapnav_result_t
libnd_tpm_goto_fraction (LND_TPM *tpm,
                         double fraction);


libnd_tpm_goto_loc ()

gboolean
libnd_tpm_goto_loc (LND_TPM *tpm,
                    LND_TraceLoc *loc);


libnd_tpm_is_tp_overlap ()

gboolean
libnd_tpm_is_tp_overlap (const LND_TPM *tpm,
                         const LND_TracePart *tp1,
                         const LND_TracePart *tp2);


libnd_tpm_map_loc_to_offset ()

off_t
libnd_tpm_map_loc_to_offset (const LND_TPM *tpm,
                             const LND_TraceLoc *loc);


libnd_tpm_map_offset_to_loc ()

pcapnav_result_t
libnd_tpm_map_offset_to_loc (const LND_TPM *tpm,
                             off_t offset,
                             LND_TraceLoc *loc);


libnd_tpm_map_loc_to_timestamp ()

gboolean
libnd_tpm_map_loc_to_timestamp (LND_TPM *tpm,
                                LND_TraceLoc *loc,
                                struct bpf_timeval *tv);


libnd_tpm_map_fraction_to_loc ()

pcapnav_result_t
libnd_tpm_map_fraction_to_loc (const LND_TPM *tpm,
                               double fraction,
                               LND_TraceLoc *loc);


libnd_tpm_map_timestamp_to_loc ()

pcapnav_result_t
libnd_tpm_map_timestamp_to_loc (const LND_TPM *tpm,
                                struct bpf_timeval *timestamp,
                                LND_TraceLoc *loc);


libnd_tpm_get_offset ()

off_t
libnd_tpm_get_offset (const LND_TPM *tpm);


libnd_tpm_find_locs ()

gboolean
libnd_tpm_find_locs (const LND_TPM *tpm,
                     LND_TraceArea *area,
                     LND_TraceLoc *start,
                     LND_TraceLoc *end);


libnd_tpm_get_space_fraction ()

double
libnd_tpm_get_space_fraction (const LND_TPM *tpm,
                              off_t offset);


libnd_tpm_get_time_fraction ()

double
libnd_tpm_get_time_fraction (const LND_TPM *tpm,
                             const struct bpf_timeval *tv);


libnd_tpm_get_rel_size ()

double
libnd_tpm_get_rel_size (const LND_TPM *tpm);


libnd_tpm_get_packets ()

LND_Packet *
libnd_tpm_get_packets (LND_TPM *tpm);


libnd_tpm_get_sel ()

LND_Packet *
libnd_tpm_get_sel (LND_TPM *tpm);


libnd_tpm_pcap_read_handler ()

void
libnd_tpm_pcap_read_handler (u_char *data,
                             const struct pcap_pkthdr *h,
                             const u_char *pdata);


libnd_tpm_dump_parts ()

void
libnd_tpm_dump_parts (LND_TPM *tpm);

Types and Values

enum LND_TPM_NavMode

Members

LND_TPM_SPACE

  

LND_TPM_TIME

  

LND_TPM_ERROR