libptpmgmt
1.4
libptpmgmt library that provides the functionality of linuxptp pmc
|
C interface to sockets classes. More...
Go to the source code of this file.
Classes | |
struct | ptpmgmt_sk_t |
Typedefs | |
typedef struct ptpmgmt_sk_t * | ptpmgmt_sk |
typedef const struct ptpmgmt_sk_t * | const_ptpmgmt_sk |
Enumerations | |
enum | ptpmgmt_socket_class { ptpmgmt_SockUnix , ptpmgmt_SockIp4 , ptpmgmt_SockIp6 , ptpmgmt_SockRaw } |
Functions | |
ptpmgmt_sk | ptpmgmt_sk_alloc (enum ptpmgmt_socket_class type) |
C interface to sockets classes.
typedef const struct ptpmgmt_sk_t* const_ptpmgmt_sk |
pointer to constant ptpmgmt socket structure
typedef struct ptpmgmt_sk_t* ptpmgmt_sk |
< pointer to ptpmgmt socket structure
enum ptpmgmt_socket_class |
Enumerator for the available socket classes, we support
ptpmgmt_sk ptpmgmt_sk_alloc | ( | enum ptpmgmt_socket_class | type | ) |
Allocate a new socket structure
[in] | type | select which class to use Return pointer to a new ptpmgmt_sk socket structre with new object or null on error |