flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
Loading...
Searching...
No Matches
network_stack_driver.h
Go to the documentation of this file.
1
10#ifndef FLEXPTP_NETWORK_STACK_DRIVER
11#define FLEXPTP_NETWORK_STACK_DRIVER
12
13#include <stdbool.h>
14
15#include "ptp_types.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
28
34void ptp_nsd_get_interface_address(uint8_t * hwa);
35
42void ptp_nsd_transmit_msg(RawPtpMessage *pMsg, uint32_t uid);
43
47void ptp_nsd_igmp_join_leave(bool join);
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* FLEXPTP_NETWORK_STACK_DRIVER */
void ptp_nsd_transmit_msg(RawPtpMessage *pMsg, uint32_t uid)
Definition: nsd_etherlib.c:123
void ptp_nsd_igmp_join_leave(bool join)
Definition: nsd_etherlib.c:32
void ptp_nsd_init(PtpTransportType tp, PtpDelayMechanism dm)
Definition: nsd_etherlib.c:50
void ptp_nsd_get_interface_address(uint8_t *hwa)
Definition: nsd_etherlib.c:138
This module defines the fundamental PTP message and state machine type, flags, bitfields and the PTP ...
PtpTransportType
PTP transport type enumeration.
Definition: ptp_types.h:136
PtpDelayMechanism
PTP Delay mechanism enumeration.
Definition: ptp_types.h:144