iPXE
pinger.h
Go to the documentation of this file.
1#ifndef _IPXE_PINGER_H
2#define _IPXE_PINGER_H
3
4/** @file
5 *
6 * ICMP ping sender
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11FILE_SECBOOT ( PERMITTED );
12
13#include <stdint.h>
14#include <ipxe/interface.h>
15#include <ipxe/socket.h>
16
17extern int create_pinger ( struct interface *job, const char *hostname,
18 unsigned long timeout, size_t len,
19 unsigned int count,
20 void ( * callback ) ( struct sockaddr *peer,
21 unsigned int sequence,
22 size_t len,
23 int rc ) );
24
25#endif /* _IPXE_PINGER_H */
struct arbelprm_rc_send_wqe rc
Definition arbel.h:3
void timeout(int)
ring len
Length.
Definition dwmac.h:226
static unsigned int count
Number of entries.
Definition dwmac.h:220
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
Object interfaces.
struct mschapv2_challenge peer
Peer challenge.
Definition mschapv2.h:1
int create_pinger(struct interface *job, const char *hostname, unsigned long timeout, size_t len, unsigned int count, void(*callback)(struct sockaddr *peer, unsigned int sequence, size_t len, int rc))
Create pinger.
Definition pinger.c:313
Socket addresses.
An object interface.
Definition interface.h:125
Generalized socket address structure.
Definition socket.h:97