--- embedaddon/libnet/sample/udp2.c 2012/02/21 22:14:23 1.1 +++ embedaddon/libnet/sample/udp2.c 2013/07/22 11:54:41 1.1.1.2 @@ -1,5 +1,5 @@ /* - * $Id: udp2.c,v 1.1 2012/02/21 22:14:23 misho Exp $ + * $Id: udp2.c,v 1.1.1.2 2013/07/22 11:54:41 misho Exp $ * * libnet 1.1 * Build a UDP packet using port list chains @@ -48,9 +48,9 @@ main(int argc, char **argv) char *payload; libnet_ptag_t t; struct libnet_stats ls; - u_int16_t payload_s; - u_int32_t src_ip, dst_ip; - u_int16_t bport, eport, cport; + uint16_t payload_s; + uint32_t src_ip, dst_ip; + uint16_t bport, eport, cport; libnet_plist_t plist, *plist_p; char errbuf[LIBNET_ERRBUF_SIZE];