Logo Search packages:      
Sourcecode: packeth version File versions  Download package

loadpacket.h

/*
 * packETH - ethernet packet generator
 * By Miha Jemec <m.jemec@iskratel.si>
 * Copyright 2003 Miha Jemec, Iskratel
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * 
 */

#include "headers.h"

int load_gen_p_data(GtkButton *button, GtkWidget *clis, char *, struct pcaprec_hdr *, int, struct clist_hdr *clptri,
                                                               double timediff, double timebeg);
int load_packet_disector(GtkButton *button, char *, int whocalled, struct clist_hdr *clptr, int);
int ipv4_header(GtkButton *button, int whocalled, struct clist_hdr *clptr);



int load_data(GtkButton *button, FILE *file_p, int whocalled, int howmanypackets);
//int load_packet_disector(GtkButton *button, FILE *);
int load_gen_b_data(GtkButton *button, FILE *);
int load_gen_s_data(GtkButton *button, FILE *);
//int load_gen_p_data(GtkButton *button, char *, pcaprec_hdr *);
int ethernet_8023(GtkButton *button, int whocalled);
int ethernet_verII(GtkButton *button, int whocalled);
//int ipv4_header(GtkButton *button, int whocalled);
int arp_header(GtkButton *button, int whocalled);
int userdef2_field(GtkButton *button, int whocalled);
void inspar(GtkButton *button, char *entry, char *from, int length);
void insint(GtkButton *button, char *entry, char *from, int length);
signed int retint(char *ch);
unsigned long retint2(char *ch, int length);
int tcp_header(GtkButton *button, int whocalled);
int udp_header(GtkButton *button, int whocalled);
int igmp_header(GtkButton *button, int whocalled);
int icmp_header(GtkButton *button, int whocalled);
int usedef_insert(GtkButton *button, char *entry, int whocalled);
void convert8field(char *to, char *from);

Generated by  Doxygen 1.6.0   Back to index