NED File src/inet/linklayer/ieee8021as/GptpEndstation.ned
Name | Type | Description |
---|---|---|
GptpEndstation | compound module |
This module implements a gPTP end station that contains a clock module and a gPTP protocol. |
Source code
// // @authors: Enkhtuvshin Janchivnyambuu // Henning Puttnies // Peter Danielis // University of Rostock, Germany // package inet.linklayer.ieee8021as; import inet.applications.contract.IApp; import inet.node.inet.StandardHost; // // This module implements a gPTP end station that contains a clock module and // a gPTP protocol. // module GptpEndstation extends StandardHost { parameters: clock.typename = default("SettableClock"); submodules: gptp: <default("Gptp")> like IApp if typename != "" { @display("p=700.11755,75.166"); } connections: gptp.socketOut --> at.in++ if exists(gptp); at.out++ --> gptp.socketIn if exists(gptp); }