diff --git a/include/net/if.h b/include/net/if.h index 28da8d7324..e54c1b81ec 100644 --- a/include/net/if.h +++ b/include/net/if.h @@ -160,6 +160,7 @@ struct can_ioctl_data_s struct lifreq { char lifr_name[IFNAMSIZ]; /* Network device name (e.g. "eth0") */ + int16_t lifr_ifindex; /* Interface index */ union { struct sockaddr_storage lifru_addr; /* IP Address */