iPXE
include
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
10
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
11
12
#include <
stdint.h
>
13
#include <
ipxe/interface.h
>
14
#include <
ipxe/socket.h
>
15
16
extern
int
create_pinger
(
struct
interface
*job,
const
char
*hostname,
17
unsigned
long
timeout
,
size_t
len
,
18
unsigned
int
count
,
19
void
( * callback ) (
struct
sockaddr
*
peer
,
20
unsigned
int
sequence,
21
size_t
len
,
22
int
rc
) );
23
24
#endif
/* _IPXE_PINGER_H */
rc
struct arbelprm_rc_send_wqe rc
Definition:
arbel.h:14
create_pinger
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))
interface
An object interface.
Definition:
interface.h:124
interface.h
Object interfaces.
count
uint16_t count
Number of entries.
Definition:
ena.h:22
sockaddr
Generalized socket address structure.
Definition:
socket.h:96
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
stdint.h
timeout
void timeout(int)
peer
struct mschapv2_challenge peer
Peer challenge.
Definition:
mschapv2.h:12
socket.h
Socket addresses.
len
uint32_t len
Length.
Definition:
ena.h:14
Generated by
1.8.15