projects
/
liboping.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/oping.c: Implement the "-O" option.
[liboping.git]
/
src
/
oping.h
diff --git
a/src/oping.h
b/src/oping.h
index
8d858fb
..
1976782
100644
(file)
--- a/
src/oping.h
+++ b/
src/oping.h
@@
-1,6
+1,6
@@
/**
* Object oriented C module to send ICMP and ICMPv6 `echo's.
/**
* Object oriented C module to send ICMP and ICMPv6 `echo's.
- * Copyright (C) 2006-201
0 Florian octo Forster <octo at verplant.org
>
+ * Copyright (C) 2006-201
6 Florian octo Forster <ff at octo.it
>
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
@@
-33,7
+33,7
@@
extern "C" {
#endif
extern "C" {
#endif
-#define OPING_VERSION 100
3003
+#define OPING_VERSION 100
8000
/*
* Type definitions
/*
* Type definitions
@@
-52,12
+52,13
@@
typedef struct pingobj pingobj_t;
#define PING_OPT_DATA 0x08
#define PING_OPT_SOURCE 0x10
#define PING_OPT_DEVICE 0x20
#define PING_OPT_DATA 0x08
#define PING_OPT_SOURCE 0x10
#define PING_OPT_DEVICE 0x20
-#define PING_OPT_TOS 0x40
+#define PING_OPT_QOS 0x40
+#define PING_OPT_MARK 0x80
#define PING_DEF_TIMEOUT 1.0
#define PING_DEF_TTL 255
#define PING_DEF_AF AF_UNSPEC
#define PING_DEF_TIMEOUT 1.0
#define PING_DEF_TTL 255
#define PING_DEF_AF AF_UNSPEC
-#define PING_DEF_DATA "
Florian Forster <octo@verplant.org> http://verplant.org/
"
+#define PING_DEF_DATA "
liboping -- ICMP ping library <http://octo.it/liboping/>
"
/*
* Method definitions
/*
* Method definitions
@@
-85,7
+86,7
@@
pingobj_iter_t *ping_iterator_next (pingobj_iter_t *iter);
#define PING_INFO_USERNAME 8
#define PING_INFO_DROPPED 9
#define PING_INFO_RECV_TTL 10
#define PING_INFO_USERNAME 8
#define PING_INFO_DROPPED 9
#define PING_INFO_RECV_TTL 10
-#define PING_INFO_
TOS
11
+#define PING_INFO_
RECV_QOS
11
int ping_iterator_get_info (pingobj_iter_t *iter, int info,
void *buffer, size_t *buffer_len);
int ping_iterator_get_info (pingobj_iter_t *iter, int info,
void *buffer, size_t *buffer_len);