RDK Documentation (Open Sourced RDK Components)
Device_Ethernet_Interface.h
Go to the documentation of this file.
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2016 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 */
19 
20 /**
21  * @file Device_Ethernet_Interface.h
22  * @brief The header file provides TR069 device ethernet interface information APIs.
23  */
24 
25 /**
26  * @defgroup TR69_HOSTIF_ETHERNET_INTERFACE TR-069 Object (Device.Ethernet)
27  *
28  * @par Ethernet object
29  * This object models several Ethernet interface objects, each representing a different
30  * stack layer, including: Interface, Link, and VLANTermination. Interface is media-specific and models
31  * a port, the PHY layer, and the MAC layer. Link is media-independent and models the Logical Link Control
32  * (LLC) layer. A VLANTermination, when present, is expected to be stacked on top of Link objects to
33  * receive and send frames with a configured VLANID.
34  *
35  * @par Ethernet interface table
36  * This table models physical Ethernet ports, but in terms of the interface stack it also models the PHY
37  * and MAC level Ethernet interface. At most one entry in this table can exist with a given value for
38  * Alias, or with a given value for Name.
39  *
40  * @par Ethernet link layer table
41  * Table entries model the Logical Link Control (LLC) layer. It is expected that an Ethernet Link
42  * interface can be stacked above any lower-layer interface object capable of carrying Ethernet frames.
43  * At most one entry in this table (regardless of whether or not it is enabled) can exist with a given
44  * value for Alias, or with a given value for Name. On creation of a new table entry, the CPE MUST choose
45  * initial values for Alias and Name such that the new entry does not conflict with any existing entries.
46  * At most one enabled entry in this table can exist with a given value for MACAddress.
47  *
48  * @ingroup TR69_HOSTIF_PROFILE
49  * @defgroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE TR-069 Object (Device.Ethernet.Interface.{i})
50  * @par Ethernet interface table
51  * - This table models physical Ethernet ports, but in terms of the interface stack it also
52  * models the PHY and MAC level Ethernet interface.
53  * - At most one entry in this table can exist with a given value for Alias, or with a given value for Name.
54  * @ingroup TR69_HOSTIF_ETHERNET_INTERFACE
55  *
56  * @defgroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE_API TR-069 Object (Device.Ethernet.Interface.{i}) Public APIs
57  * Describe the details about TR-069 Device ethernet interface APIs specifications.
58  * @ingroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE
59  *
60  * @defgroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE_CLASSES TR-069 Object (Device.Ethernet.Interface.{i}) Public Classes
61  * Describe the details about classes used in TR-069 Device ethernet interface.
62  * @ingroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE
63  *
64  * @defgroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE_DSSTRUCT TR-069 Object (Device.Ethernet.Interface.{i}) Public DataStructure
65  * Describe the details about structure used in TR069 Device ethernet interface.
66  * @ingroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE
67  *
68  */
69 
70 /**
71 * @defgroup tr69hostif
72 * @{
73 * @defgroup hostif
74 * @{
75 **/
76 
77 
78 #ifndef DEVICE_ETHERNET_INTERFACE_H_
79 #define DEVICE_ETHERNET_INTERFACE_H_
80 
81 /*****************************************************************************
82  * TR069-SPECIFIC INCLUDE FILES
83  *****************************************************************************/
84 
85 #include "hostIf_main.h"
86 #include "hostIf_tr69ReqHandler.h"
87 #include "hostIf_utils.h"
88 #include "hostIf_updateHandler.h"
89 
90 
91 #define S_LENGTH 24
92 #define A_LENGTH 64
93 #define LL_LENGTH 1024
94 #define LENGTH_PARAMETER 64
95 
96 /**
97  * @addtogroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE_DSSTRUCT
98  * @{
99  */
100 /**
101  * @enum EEthInterfaceMembers
102  * @brief These values are the members of the EEthInterfaceMembers enum.
103  */
105 {
106  eEnable=0,
107  eStatus,
108  eName,
109  eLastChange,
110  eLowerLayers,
111  eUpstream,
112  eMACAddress,
113  eMaxBitRate,
114  eDuplexMode
116 
117 /**
118  * @brief It contains the members variables of the EthernetInterface structure.
119  */
121 {
122  bool enable;
123  char status[_BUF_LEN_16];
124  char alias[A_LENGTH];
125  char name[A_LENGTH];
126  unsigned int lastChange;
127  char lowerLayers[LL_LENGTH];
128  bool upStream;
129  char mACAddress[S_LENGTH];
130  int maxBitRate;
131  char duplexMode[_BUF_LEN_16];
133 /** @} */ //End of the Doxygen tag TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE_DSSTRUCT
134 
135 /** @defgroup TR_069_DEVICE_ETHERNET_API TR-069 Device.Ethernet object API.
136  * @ingroup TR_069_API
137  *
138  * The Device.Ethernet object models several Ethernet interface objects, each
139  * representing a different stack layer, including: Interface, Link, and
140  * VLANTermination.
141  *
142  * Interface is media-specific and models a port, the PHY layer, and the MAC layer.
143  *
144  * Link is media-independent and models the Logical Link Control (LLC) layer.
145  *
146  * A VLANTermination, when present, is expected to be stacked on top of Link objects
147  * to receive and send frames with a configured VLANID.
148  */
149 
150 /** @defgroup TR_069_DEVICE_ETHERNET_INTERFACE_API TR-069 Device.Ethernet.Interface object API.
151  * @ingroup TR_069_DEVICE_ETHERNET_API
152  *
153  * The Device.Ethernet.Interface is the Ethernet interface table (a stackable
154  * interface object). This table models physical Ethernet ports, but in terms of the
155  * interface stack it also models the PHY and MAC level Ethernet interface.
156  *
157  * @note At most one entry in this table can exist with a given value for Alias,
158  * or with a given value for Name.
159  */
160 
161 /** @addtogroup TR_069_DEVICE_ETHERNET_GETTER_API TR-069 Device.Ethernet Getter API.
162  * @ingroup TR_069_DEVICE_ETHERNET_API
163  *
164  * \section dev_ethernet_getter TR-069 Device.Ethernet object Getter API
165  *
166  * This is the getter group of API for the <b>Device.Ethernet</b> object.
167  *
168  * The interface for all functions is identical and is described here.
169  *
170  * @param[in] *name This is the complete path name of the parameter extracted from
171  * soap message, e.g. ::get_Device_Ethernet_InterfaceNumberOfEntries.
172  * In this case, the path is "Device.Ethernet.InterfaceNumberOfEntries".
173  * @param[in] *type Data type of parameter defined for TR-069. This is same as the
174  * data type used in the Xi3 data-model.xml file.
175  * (see parameter.h)
176  * @param[out] *value This is the value of the parameter requested by the ACS.
177  * (see paramaccess.h)
178  *
179  * @return The status of the operation.
180  * @retval OK If parameter requested was successfully fetched. (Same as <b>NO_ERROR</b>).
181  * @retval NO_ERROR If parameter requested was successfully fetched. (Same as <b>OK</b>).
182  * @retval DIAG_ERROR Diagnostic error.
183  * @retval ERR_??? Appropriate error value otherwise (see dimark_globals.h).
184  *
185  * @todo Clarify description of DIAG_ERROR.
186  *
187  * @{
188  */
189 
190  /**
191  * @brief This class provides the interface for getting Device ethernet interface information.
192  * @ingroup TR69_HOSTIF_ETHERNET_INTERFACE_DEVICE_CLASSES
193  */
194 
196 
197 
198  hostIf_EthernetInterface(int dev_id);
199 
201 
202  static GHashTable *ifHash;
203  static GHashTable *m_notifyHash;
204  static GMutex *m_mutex;
205 
206  int dev_id;
207 
208  bool backupEnable;
209  bool backupUpstream;
210  int backupMaxBitRate;
211  char backupStatus[_BUF_LEN_16];
212  char backupName[_BUF_LEN_16];
213  char backupMACAddress[S_LENGTH];
214  char backupDuplexMode[_BUF_LEN_16];
215 
216  bool bCalledEnable;
217  bool bCalledStatus;
218  bool bCalledName;
219  bool bCalledUpstream;
220  bool bCalledMACAddress;
221  bool bCalledMaxBitRate;
222  bool bCalledDuplexMode;
223 
224 public:
225 
226  static EthernetInterface stEthInterface;
227 
228  static hostIf_EthernetInterface *getInstance(int dev_id);
229 
230  static void closeInstance(hostIf_EthernetInterface *);
231 
232  static GList* getAllInstances();
233 
234  static void closeAllInstances();
235 
236  static void getLock();
237 
238  static void releaseLock();
239 
240  static GHashTable* getNotifyHash();
241 
242  /**
243  * @brief Get the number of entries in the Interface table.
244  *
245  * This function provides the number of entries in the Device.Ethernet.Interface.{i} table.
246  *
247  * See @ref dev_ethernet_getter
248  *
249  */
250 
251 
252  static int get_Device_Ethernet_InterfaceNumberOfEntries(HOSTIF_MsgData_t *,bool *pChanged = NULL);
253 
254  /* End of TR_069_DEVICE_ETHERNET_GETTER_API doxygen group */
255  /**
256  * @}
257  */
258 
259 
260  /** @addtogroup TR_069_DEVICE_ETHERNET_INTERFACE_GETTER_API TR-069 Device.Ethernet.Interface Getter API.
261  * @ingroup TR_069_DEVICE_ETHERNET_INTERFACE_API
262  *
263  * \section dev_ethernet_interface_getter TR-069 Device.Ethernet.Interface object Getter API
264  *
265  * This is the getter group of API for the <b>Device.Ethernet.Interface.{i}</b> object.
266  *
267  * The interface for all functions is identical and is described here.
268  *
269  * @param[in] *name This is the complete path name of the parameter extracted from
270  * soap message, e.g. ::get_Device_Ethernet_Interface_Status.
271  * In this case, the path is "Device.Ethernet.Interface.{i}.Status".
272  * @param[in] *type Data type of parameter defined for TR-069. This is same as the
273  * data type used in the Xi3 data-model.xml file.
274  * (see parameter.h)
275  * @param[out] *value This is the value of the parameter requested by the ACS.
276  * (see paramaccess.h)
277  *
278  * @return The status of the operation.
279  * @retval OK If parameter requested was successfully fetched. (Same as <b>NO_ERROR</b>).
280  * @retval NO_ERROR If parameter requested was successfully fetched. (Same as <b>OK</b>).
281  * @retval DIAG_ERROR Diagnostic error.
282  * @retval ERR_??? Appropriate error value otherwise (see dimark_globals.h).
283  *
284  * @todo Clarify description of DIAG_ERROR.
285  *
286  * @{
287  */
288 
289  /**
290  * @brief Get the status (enabled/disabled) of an Ethernet interface.
291  *
292  * This function provides the value (<tt>true/false</tt>) of the Enable status of this
293  * Ethernet interface.
294  *
295  * See @ref dev_ethernet_interface_getter
296  *
297  */
298  int get_Device_Ethernet_Interface_Enable(HOSTIF_MsgData_t *,bool *pChanged = NULL);
299 
300  /**
301  * @brief Get the status of an Ethernet Interface.
302  *
303  * This function provides the current operational state of this Ethernet interface.
304  * This is an enumeration of:
305  * <tt>
306  * <ul><li>Up</li>
307  * <li>Down</li>
308  * <li>Unknown</li>
309  * <li>Dormant</li>
310  * <li>NotPresent</li>
311  * <li>LowerLayerDown</li>
312  * <li>Error (OPTIONAL)</li></ul>
313  * </tt>
314  *
315  * @note <ul><li>When Enable is false then Status SHOULD normally be <tt>Down</tt> (or
316  * <tt>NotPresent</tt> or <tt>Error</tt> if there is a fault condition
317  * on the interface).</li>
318  *
319  * <li>When Enable is changed to <tt>true</tt> then ...
320  * <ul><li>Status SHOULD change to <tt>Up</tt> if and only if the
321  * interface is able to transmit and receive network traffic.</li>
322  * <li>Status SHOULD change to <tt>Dormant</tt> if and only if the
323  * interface is operable but is waiting for external actions before
324  * it can transmit and receive network traffic (and subsequently
325  * change to <tt>Up</tt> if still operable when the expected actions
326  * have completed).</li>
327  * <li>Status SHOULD change to <tt>LowerLayerDown</tt> if and only if
328  * the interface is prevented from entering the <tt>Up</tt> state
329  * because one or more of the interfaces beneath it is down.</li>
330  * <li>Status SHOULD remain in the <tt>Error</tt> state if there is
331  * an error or other fault condition detected on the interface.</li>
332  * <li>Status SHOULD remain in the <tt>NotPresent</tt> state if the
333  * interface has missing (typically hardware) components.</li>
334  * <li>Status SHOULD change to <tt>Unknown</tt> if the state of the
335  * interface can not be determined for some reason.</li></ul>
336  * </li>
337  * <li>This parameter is based on ifOperStatus from [RFC 2863, The
338  * Interfaces Group MIB, IETF, 2000.].</li>
339  * </ul>
340  *
341  * @par
342  *
343  * See @ref dev_ethernet_interface_getter
344  *
345  */
346  int get_Device_Ethernet_Interface_Status(HOSTIF_MsgData_t *,bool *pChanged = NULL);
347 
348  /**
349  * @brief Get the instance handle for an Ethernet Interface.
350  *
351  * This function provides a non-volatile handle used to reference this Ethernet
352  * interface instance. Alias provides a mechanism for an ACS to label this instance
353  * for future reference.
354  *
355  * @note If the CPE supports the Alias-based Addressing feature as defined in
356  * [Section 3.6.1/TR-069 Amendment 4] and described in [Appendix II/TR-069
357  * Amendment 4], the following mandatory constraints MUST be enforced:
358  * <ul><li>Its value MUST NOT be empty.</li>
359  * <li>Its value MUST start with a letter.</li>
360  * <li>If its instance object is created by the CPE, the initial
361  * value MUST start with a "cpe-" prefix.</li>
362  * <li>The CPE MUST NOT change the parameter value.</li>
363  * </ul>
364  * @par
365  *
366  * See @ref dev_ethernet_interface_getter
367  *
368  */
369 
370  int get_Device_Ethernet_Interface_Alias(HOSTIF_MsgData_t *,bool *pChanged = NULL);
371 
372 
373  int get_Device_Ethernet_Interface_Name(HOSTIF_MsgData_t *,bool *pChanged = NULL);
374 
375  /**
376  * @brief Get the time since an Ethernet interface's last change of status.
377  *
378  * This function provides the accumulated time in seconds since this Ethernet
379  * interface entered its current operational state.
380  *
381  * See @ref dev_ethernet_interface_getter
382  *
383  */
384 
385  int get_Device_Ethernet_Interface_LastChange(HOSTIF_MsgData_t *,bool *pChanged = NULL);
386 
387 
388  int get_Device_Ethernet_Interface_LowerLayers(HOSTIF_MsgData_t *,bool *pChanged = NULL);
389 
390 
391  int get_Device_Ethernet_Interface_Upstream(HOSTIF_MsgData_t *,bool *pChanged = NULL);
392 
393 
394  int get_Device_Ethernet_Interface_MACAddress(HOSTIF_MsgData_t *,bool *pChanged = NULL);
395 
396 
397  int get_Device_Ethernet_Interface_MaxBitRate(HOSTIF_MsgData_t *,bool *pChanged = NULL);
398 
399  /**
400  * @brief Get the Duplex Mode available on an Ethernet Interface.
401  *
402  * This function provides a string indicating the duplex mode available to this
403  * Ethernet connection. This is an enumeration of:
404  *
405  * <tt>
406  * <ul><li>Half</li>
407  * <li>Full</li>
408  * <li>Auto</li></ul>
409  * </tt>
410  *
411  * See @ref dev_ethernet_interface_getter
412  *
413  */
414 
415  int get_Device_Ethernet_Interface_DuplexMode(HOSTIF_MsgData_t *,bool *pChanged = NULL);
416 
417  /* End of TR_069_DEVICE_ETHERNET_INTERFACE_GETTER_API doxygen group */
418  /**
419  * @}
420  */
421 
422  /** @addtogroup TR_069_DEVICE_ETHERNET_INTERFACE_SETTER_API TR-069 Device.Ethernet.Interface Setter API.
423  * @ingroup TR_069_DEVICE_ETHERNET_INTERFACE_API
424  *
425  * \section dev_ethernet_interface_setter TR-069 Device.Ethernet.Interface object Setter API
426  *
427  * This is the setter group of API for the <b>Device.Ethernet.Interface.{i}</b> object.
428  *
429  * The interface for all functions is identical and is described here.
430  *
431  * @param[in] *name This is the complete path name of the parameter extracted from
432  * soap message, e.g. ::set_Device_Ethernet_Interface_LowerLayers.
433  * In this case, the path is "Device.Ethernet.Interface.{i}.LowerLayers".
434  * @param[in] *type Data type of parameter defined for TR-069. This is same as the
435  * data type used in the Xi3 data-model.xml file.
436  * (see parameter.h)
437  * @param[in] *value This is the value to which the parameter requested by the ACS
438  * must be set.
439  * (see paramaccess.h)
440  *
441  * @return The status of the operation.
442  * @retval OK If parameter requested was successfully updated. (Same as <b>NO_ERROR</b>).
443  * @retval NO_ERROR If parameter requested was successfully updated. (Same as <b>OK</b>).
444  * @retval DIAG_ERROR Diagnostic error.
445  * @retval ERR_??? Appropriate error value otherwise (see dimark_globals.h).
446  *
447  * @todo Clarify description of DIAG_ERROR.
448  *
449  * @{
450  */
451 
452 
454 
455 
457 
458 
460 
461  /**
462  * @brief Set the maximum bit rate attainable on an Ethernet Interface.
463  *
464  * This function sets the maximum upstream and downstream PHY bit rate supported
465  * by this Ethernet interface (expressed in Mbps).
466  *
467  * @note A value of -1 indicates automatic selection of the maximum bit rate.
468  *
469  * See @ref dev_ethernet_interface_setter
470  *
471  */
472 
474 
475 
477 
478  /* End of TR_069_DEVICE_ETHERNET_INTERFACE_SETTER_API doxygen group */
479  /**
480  * @}
481  */
482 };
483 
484 #endif /* DEVICE_ETHERNET_INTERFACE_H_ */
485 
486 
487 /** @} */
488 /** @} */
hostIf_EthernetInterface::get_Device_Ethernet_InterfaceNumberOfEntries
static int get_Device_Ethernet_InterfaceNumberOfEntries(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the number of entries in the Interface table.
Definition: Device_Ethernet_Interface.cpp:486
hostIf_EthernetInterface::getInstance
static hostIf_EthernetInterface * getInstance(int dev_id)
Definition: Device_Ethernet_Interface.cpp:66
EthernetInterface
struct Device_Ethernet_Interface EthernetInterface
It contains the members variables of the EthernetInterface structure.
hostIf_EthernetInterface::get_Device_Ethernet_Interface_MaxBitRate
int get_Device_Ethernet_Interface_MaxBitRate(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides the maximum upstream and downstream PHY bit rate supported by this Ethernet in...
Definition: Device_Ethernet_Interface.cpp:775
hostIf_EthernetInterface::set_Device_Ethernet_Interface_Alias
int set_Device_Ethernet_Interface_Alias(HOSTIF_MsgData_t *)
This function sets a non-volatile handle used to reference this Ethernet interface instance....
Definition: Device_Ethernet_Interface.cpp:878
hostIf_EthernetInterface::get_Device_Ethernet_Interface_Name
int get_Device_Ethernet_Interface_Name(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the textual name of the 'Ethernet' interface.
Definition: Device_Ethernet_Interface.cpp:622
hostIf_EthernetInterface::set_Device_Ethernet_Interface_LowerLayers
int set_Device_Ethernet_Interface_LowerLayers(HOSTIF_MsgData_t *)
This function sets the 'Ethernet' interface 'LowerLayers'. Given a comma-separated list (maximum leng...
Definition: Device_Ethernet_Interface.cpp:897
hostIf_EthernetInterface::get_Device_Ethernet_Interface_Upstream
int get_Device_Ethernet_Interface_Upstream(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function indicates whether the interface points towards the Internet represent by 'true' or towa...
Definition: Device_Ethernet_Interface.cpp:705
hostIf_EthernetInterface::set_Device_Ethernet_Interface_Enable
int set_Device_Ethernet_Interface_Enable(HOSTIF_MsgData_t *)
This function sets the status of 'Ethernet' interface as enabled or disabled.
Definition: Device_Ethernet_Interface.cpp:838
hostIf_EthernetInterface::get_Device_Ethernet_Interface_LowerLayers
int get_Device_Ethernet_Interface_LowerLayers(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides a comma-separated list (maximum length 1024) of strings. Each list item MUST b...
Definition: Device_Ethernet_Interface.cpp:677
_HostIf_MsgData_t
Definition: hostIf_tr69ReqHandler.h:170
hostIf_EthernetInterface::get_Device_Ethernet_Interface_DuplexMode
int get_Device_Ethernet_Interface_DuplexMode(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the Duplex Mode available on an Ethernet Interface.
Definition: Device_Ethernet_Interface.cpp:805
hostIf_EthernetInterface::get_Device_Ethernet_Interface_LastChange
int get_Device_Ethernet_Interface_LastChange(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the time since an Ethernet interface's last change of status.
Definition: Device_Ethernet_Interface.cpp:655
hostIf_main.h
hostIf_main API.
hostIf_EthernetInterface::set_Device_Ethernet_Interface_DuplexMode
int set_Device_Ethernet_Interface_DuplexMode(HOSTIF_MsgData_t *)
This function sets the 'Duplex Mode' available on an ethernet Interface. This function sets the strin...
Definition: Device_Ethernet_Interface.cpp:939
EEthInterfaceMembers
EEthInterfaceMembers
These values are the members of the EEthInterfaceMembers enum.
Definition: Device_Ethernet_Interface.h:104
hostIf_EthernetInterface
This class provides the interface for getting Device ethernet interface information.
Definition: Device_Ethernet_Interface.h:195
hostIf_EthernetInterface::get_Device_Ethernet_Interface_MACAddress
int get_Device_Ethernet_Interface_MACAddress(HOSTIF_MsgData_t *, bool *pChanged=NULL)
This function provides the MAC Address of this Ethernet interface.
Definition: Device_Ethernet_Interface.cpp:738
hostIf_EthernetInterface::get_Device_Ethernet_Interface_Enable
int get_Device_Ethernet_Interface_Enable(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the status (enabled/disabled) of an Ethernet interface.
Definition: Device_Ethernet_Interface.cpp:529
hostIf_EthernetInterface::hostIf_EthernetInterface
hostIf_EthernetInterface(int dev_id)
Class Constructor of the class hostIf_EthernetInterface.
Definition: Device_Ethernet_Interface.cpp:158
hostIf_EthernetInterface::get_Device_Ethernet_Interface_Status
int get_Device_Ethernet_Interface_Status(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the status of an Ethernet Interface.
Definition: Device_Ethernet_Interface.cpp:587
Device_Ethernet_Interface
It contains the members variables of the EthernetInterface structure.
Definition: Device_Ethernet_Interface.h:120
hostIf_EthernetInterface::set_Device_Ethernet_Interface_MaxBitRate
int set_Device_Ethernet_Interface_MaxBitRate(HOSTIF_MsgData_t *)
Set the maximum bit rate attainable on an Ethernet Interface.
Definition: Device_Ethernet_Interface.cpp:919
hostIf_EthernetInterface::get_Device_Ethernet_Interface_Alias
int get_Device_Ethernet_Interface_Alias(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the instance handle for an Ethernet Interface.