/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_ping.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/04/22 14:10:24 by jhalford #+# #+# */ /* Updated: 2017/10/08 17:52:17 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef FT_PING_H # define FT_PING_H # include "libft.h" # include # include # include # include # include # include # include # include # include #define PACKETSIZE 56 struct s_packet { struct icmp hdr; char msg[PACKETSIZE - sizeof(struct icmp)]; }; void traceroute(struct sockaddr *addr); #endif