diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/pinger.h | 1 | ||||
| -rw-r--r-- | src/include/usr/pingmgmt.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ipxe/pinger.h b/src/include/ipxe/pinger.h index 2d8403313..9932df6b0 100644 --- a/src/include/ipxe/pinger.h +++ b/src/include/ipxe/pinger.h @@ -15,6 +15,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); extern 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, diff --git a/src/include/usr/pingmgmt.h b/src/include/usr/pingmgmt.h index 45ad5d394..8bded3849 100644 --- a/src/include/usr/pingmgmt.h +++ b/src/include/usr/pingmgmt.h @@ -11,6 +11,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <stdint.h> -extern int ping ( const char *hostname, unsigned long timeout, size_t len ); +extern int ping ( const char *hostname, unsigned long timeout, size_t len, + unsigned int count ); #endif /* _USR_PINGMGMT_H */ |
