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

23 lines
326 B
C
Raw Normal View History

2002-05-04 16:05:48 +00:00
/* $Id$ */
2002-02-22 21:15:21 +00:00
#ifndef _PING_H
#define _PING_H
typedef enum {P_INIT, P_SENT, P_FAIL, P_OK, P_ERROR, P_NONE} PINGSTATE;
/*
* Defines.
*/
#define ICMP_BASEHDR_LEN 8
#define ICMP_MAX_ERRS 5
#define SET_SOCKA_LEN4(socka)
void check_ping(void);
void state_ping(void);
2002-05-04 16:05:48 +00:00
void init_pingsocket(void);
2002-02-22 21:15:21 +00:00
#endif