Software TSN Switch
A software switch to connect VMs and Containers to a TSN network
Loading...
Searching...
No Matches
PtpParser.h
Go to the documentation of this file.
1#pragma once
2
3#include "CncTypes.h"
4#include "libyang/libyang.h"
5
6namespace cnc {
13class PtpParser {
14 public:
21 static bool parseOperationalPtpData(const struct lyd_node* root, CncNode_t& node);
22};
23} // namespace cnc
Parses PTP data from libyang XML nodes and populates CncNode_t structures. This parser is responsible...
Definition PtpParser.h:13
static bool parseOperationalPtpData(const struct lyd_node *root, CncNode_t &node)
Parses PTP data from the given XML node and populates the ptpAllData field of the provided CncNode_t.
Definition PtpParser.cpp:129
Definition GclParser.h:10
This struct is used on the CNC side to represent one host with all its interfaces as well as its PTP ...
Definition CncTypes.h:512