X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Foping.h;h=197678232233d38519faf2b6b4e83f8825c79243;hb=dbfc310d1305d1c6a6e3d6eaa9091ab7d4145c26;hp=2a5bc3a31b9eacd0facab60e54b8d5425b7fb5fe;hpb=68d713ec1a7027113f1fa20df598a63539511593;p=liboping.git diff --git a/src/oping.h b/src/oping.h index 2a5bc3a..1976782 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-2011 Florian octo Forster + * Copyright (C) 2006-2016 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 1006002 +#define OPING_VERSION 1008000 /* * Type definitions @@ -53,15 +53,13 @@ typedef struct pingobj pingobj_t; #define PING_OPT_SOURCE 0x10 #define PING_OPT_DEVICE 0x20 #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_DATA "liboping -- ICMP ping library " -#define BARS_LEN 8 -extern const char *bars[BARS_LEN]; - /* * Method definitions */