libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
|
#include <ptp.h>
Public Attributes | |
void(* | free )(ptpmgmt_ifInfo i) |
bool(* | initUsingName )(ptpmgmt_ifInfo i, const char *ifName) |
bool(* | initUsingIndex )(ptpmgmt_ifInfo i, int ifIndex) |
bool(* | isInit )(const_ptpmgmt_ifInfo i) |
int(* | ifIndex )(const_ptpmgmt_ifInfo i) |
const char *(* | ifName )(const_ptpmgmt_ifInfo i) |
const uint8_t *(* | mac )(const_ptpmgmt_ifInfo i) |
size_t(* | mac_size )(const_ptpmgmt_ifInfo i) |
int(* | ptpIndex )(const_ptpmgmt_ifInfo i) |
the ptpmgmt network interface structure hold the network interface object and call backs to call c++ methods
void(* ptpmgmt_ifInfo_t::free) (ptpmgmt_ifInfo i) |
< Free a network interface object
[in,out] | i | network interface object |
int(* ptpmgmt_ifInfo_t::ifIndex) (const_ptpmgmt_ifInfo i) |
Get interface index
[in] | i | network interface object |
const char*(* ptpmgmt_ifInfo_t::ifName) (const_ptpmgmt_ifInfo i) |
Get interface name
[in] | i | network interface object |
bool(* ptpmgmt_ifInfo_t::initUsingIndex) (ptpmgmt_ifInfo i, int ifIndex) |
Find network interface information based on its index
[in,out] | i | network interface object |
[in] | ifIndex | network interface index |
bool(* ptpmgmt_ifInfo_t::initUsingName) (ptpmgmt_ifInfo i, const char *ifName) |
Find network interface information based on its name
[in,out] | i | network interface object |
[in] | ifName | network interface name |
bool(* ptpmgmt_ifInfo_t::isInit) (const_ptpmgmt_ifInfo i) |
Is object initialized
[in] | i | network interface object |
const uint8_t*(* ptpmgmt_ifInfo_t::mac) (const_ptpmgmt_ifInfo i) |
Get interface MAC address
[in] | i | network interface object |
size_t(* ptpmgmt_ifInfo_t::mac_size) (const_ptpmgmt_ifInfo i) |
Get interface MAC address length
[in] | i | network interface object |
int(* ptpmgmt_ifInfo_t::ptpIndex) (const_ptpmgmt_ifInfo i) |
Get interface PTP index
[in] | i | network interface object |