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

22 lines
297 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
2002-06-06 19:46:44 +00:00
typedef enum {P_BOOT, P_PAUSE, P_SENT, P_WAIT, P_ERROR} PINGSTATE;
2002-02-22 21:15:21 +00:00
/*
* Defines.
*/
#define ICMP_BASEHDR_LEN 8
#define ICMP_MAX_ERRS 5
#define SET_SOCKA_LEN4(socka)
void check_ping(void);
2002-05-04 16:05:48 +00:00
void init_pingsocket(void);
2002-02-22 21:15:21 +00:00
#endif