linuxptp/interface.c

13 lines
300 B
C
Raw Normal View History

/**
* @file interface.c
* @brief Implements network interface data structures.
* @note Copyright (C) 2020 Richard Cochran <richardcochran@gmail.com>
* @note SPDX-License-Identifier: GPL-2.0+
*/
#include "interface.h"
const char *interface_name(struct interface *iface)
{
return iface->name;
}