00001 /* 00002 * aton.h 00003 * 00004 * Copyright (c) 2002 Dug Song <dugsong@monkey.org> 00005 * 00006 * $Id: aton.h,v 1.1 2002/02/08 07:26:58 dugsong Exp $ 00007 */ 00008 00009 #ifndef ATON_H 00010 #define ATON_H 00011 00012 int type_aton(char *string, uint16_t *type); 00013 int op_aton(char *string, uint16_t *op); 00014 int proto_aton(char *string, uint8_t *proto); 00015 int off_aton(char *string, uint16_t *off); 00016 int port_aton(char *string, uint16_t *port); 00017 int seq_aton(char *string, uint32_t *seq); 00018 int flags_aton(char *string, uint8_t *flags); 00019 int fmt_aton(char *string, u_char *buf); 00020 00021 #endif /* ATON_H */