This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/mbtask/ping.h
2002-06-06 19:46:44 +00:00

22 lines
297 B
C

/* $Id$ */
#ifndef _PING_H
#define _PING_H
typedef enum {P_BOOT, P_PAUSE, P_SENT, P_WAIT, P_ERROR} PINGSTATE;
/*
* Defines.
*/
#define ICMP_BASEHDR_LEN 8
#define ICMP_MAX_ERRS 5
#define SET_SOCKA_LEN4(socka)
void check_ping(void);
void init_pingsocket(void);
#endif