X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Foping.h;h=9f8d5e18b25044a6b5f74c91120beabcf881bbc6;hb=007c4479d165f124cf57415e2cdafc8d3f950348;hp=e2ccf97ef3190632ca72c3472657b904b72fae13;hpb=cbfa921fb30702b98ba0353f551c9340d0928655;p=liboping.git diff --git a/src/oping.h b/src/oping.h index e2ccf97..9f8d5e1 100644 --- a/src/oping.h +++ b/src/oping.h @@ -1,6 +1,6 @@ /** * Object oriented C module to send ICMP and ICMPv6 `echo's. - * Copyright (C) 2006-2010 Florian octo Forster + * Copyright (C) 2006-2011 Florian octo Forster * * 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 -#define OPING_VERSION 1003003 +#define OPING_VERSION 1008000 /* * Type definitions @@ -52,11 +52,12 @@ typedef struct pingobj pingobj_t; #define PING_OPT_DATA 0x08 #define PING_OPT_SOURCE 0x10 #define PING_OPT_DEVICE 0x20 +#define PING_OPT_QOS 0x40 #define PING_DEF_TIMEOUT 1.0 #define PING_DEF_TTL 255 #define PING_DEF_AF AF_UNSPEC -#define PING_DEF_DATA "Florian Forster http://verplant.org/" +#define PING_DEF_DATA "liboping -- ICMP ping library " /* * Method definitions @@ -84,6 +85,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_RECV_QOS 11 int ping_iterator_get_info (pingobj_iter_t *iter, int info, void *buffer, size_t *buffer_len);