Code

liboping: Add support for SO_MARK.
[liboping.git] / src / oping.h
index bf9f3f75c637ab2ea582ec52f88c7dbaae3c1540..e5bc5fa9c284e981d137a17a40751b3e62a55a0e 100644 (file)
@@ -1,6 +1,6 @@
 /**
  * Object oriented C module to send ICMP and ICMPv6 `echo's.
- * Copyright (C) 2006-2010  Florian octo Forster <ff at octo.it>
+ * Copyright (C) 2006-2011  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
@@ -33,7 +33,7 @@
 extern "C" {
 #endif
 
-#define OPING_VERSION 1005001
+#define OPING_VERSION 1008000
 
 /*
  * Type definitions
@@ -53,6 +53,7 @@ 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