Skip to content

Commit

Permalink
Merge pull request #371 from audioscience/open-avb-next
Browse files Browse the repository at this point in the history
daemons: gPTP, Windows HAL updates so that CMake based build works a…
  • Loading branch information
andrew-elder committed Apr 16, 2016
2 parents 91e9c1b + a53de06 commit 20731bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions daemons/gptp/windows/daemon_cl/windows_hal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,8 @@ bool WindowsNamedPipeIPC::update(int64_t ml_phoffset, int64_t ls_phoffset, Frequ
return true;
}


void WindowsPCAPNetworkInterface::watchNetLink(IEEE1588Port *pPort)
{
/* ToDo add link up/down detection, Google MIB_IPADDR_DISCONNECTED */
}
6 changes: 6 additions & 0 deletions daemons/gptp/windows/daemon_cl/windows_hal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ class WindowsPCAPNetworkInterface : public OSNetworkInterface {
virtual void getLinkLayerAddress( LinkLayerAddress *addr ) {
*addr = local_addr;
}

/**
* @brief Watch for netlink changes.
*/
virtual void watchNetLink(IEEE1588Port *pPort);

/**
* @brief Gets the offset to the start of data in the Layer 2 Frame
* @return ::PACKET_HDR_LENGTH
Expand Down

0 comments on commit 20731bd

Please sign in to comment.