ret = 0;
break;
- case PING_INFO_TOS:
+ case PING_INFO_RECV_TOS:
ret = ENOMEM;
if (*buffer_len>sizeof(unsigned)) *buffer_len=sizeof(unsigned);
if (!*buffer_len) *buffer_len=1;
recv_tos = 0;
buffer_len = sizeof (recv_tos);
- ping_iterator_get_info (iter, PING_INFO_TOS,
+ ping_iterator_get_info (iter, PING_INFO_RECV_TOS,
&recv_tos, &buffer_len);
data_len = 0;
#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_TOS 11
int ping_iterator_get_info (pingobj_iter_t *iter, int info,
void *buffer, size_t *buffer_len);