Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

aton.h File Reference

Go to the source code of this file.

Functions

int type_aton (char *string, uint16_t *type)
int op_aton (char *string, uint16_t *op)
int proto_aton (char *string, uint8_t *proto)
int off_aton (char *string, uint16_t *off)
int port_aton (char *string, uint16_t *port)
int seq_aton (char *string, uint32_t *seq)
int flags_aton (char *string, uint8_t *flags)
int fmt_aton (char *string, u_char *buf)


Function Documentation

int flags_aton char *  string,
uint8_t flags
 

Definition at line 129 of file aton.c.

References TH_ACK, TH_FIN, TH_PUSH, TH_RST, TH_SYN, and TH_URG.

Referenced by tcp_main().

int fmt_aton char *  string,
u_char *  buf
 

Definition at line 193 of file aton.c.

References hex2num().

Referenced by hex_main().

int off_aton char *  string,
uint16_t off
 

Definition at line 77 of file aton.c.

References IP_MF, IP_OFFMASK, and strtol().

Referenced by ip_main().

int op_aton char *  string,
uint16_t op
 

Definition at line 40 of file aton.c.

References ARP_OP_REPLY, ARP_OP_REQUEST, ARP_OP_REVREPLY, ARP_OP_REVREQUEST, and strncasecmp.

Referenced by arp_main().

int port_aton char *  string,
uint16_t port
 

Definition at line 97 of file aton.c.

References NULL.

Referenced by tcp_main(), and udp_main().

int proto_aton char *  string,
uint8_t proto
 

Definition at line 61 of file aton.c.

References NULL.

Referenced by ip_main().

int seq_aton char *  string,
uint32_t seq
 

Definition at line 116 of file aton.c.

References strtoul().

Referenced by tcp_main().

int type_aton char *  string,
uint16_t type
 

Definition at line 23 of file aton.c.

References ETH_TYPE_ARP, and ETH_TYPE_IP.

Referenced by eth_main().


Generated on Sun May 14 14:51:22 2006 by  doxygen 1.4.2