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

19 lines
324 B
C
Raw Permalink Normal View History

2009-05-15 20:01:56 +00:00
#ifndef _PING_H
#define _PING_H
/* $Id: ping.h,v 1.6 2006/02/13 19:26:30 mbse Exp $ */
/*
* Defines.
*/
#define ICMP_BASEHDR_LEN 8
#define ICMP_MAX_ERRS 5
#define SET_SOCKA_LEN4(socka)
void init_pingsocket(void);
void ping_receive(char *, int);
void check_ping(void);
void deinit_ping(void);
#endif