Skip to content
Snippets Groups Projects
Commit 49012c77 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files
parents cc210b12 6dcc16bf
No related branches found
No related tags found
1 merge request!24Support 3689
......@@ -8,7 +8,6 @@
#include <sys/socket.h>
#include <linux/types.h>
#include <linux/sockios.h>
#include <linux/ipv6.h>
# define __USE_KERNEL_IPV6_DEFS
#include <sys/file.h>
#include <sys/time.h>
......@@ -68,6 +67,7 @@
#include <ifaddrs.h>
#include <netinet/in.h>
#include <linux/ipv6.h>
#include <arpa/inet.h>
#include <linux/types.h>
#include <linux/errqueue.h>
......
......@@ -60,6 +60,13 @@
#include "ping.h"
/* IPv6 packet information. */
struct in6_pktinfo
{
struct in6_addr ipi6_addr; /* src/dst IPv6 address */
unsigned int ipi6_ifindex; /* send/recv interface index */
};
ping_func_set_st ping6_func_set = {
.send_probe = ping6_send_probe,
.receive_error_msg = ping6_receive_error_msg,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment