ieee_802_3_mac_v3 ieee_802_3_phy_v2
API Reference Manual  /  4 Model-to-Model Interfaces  / 

ieee_802_3_phy

Description
#define IEEE_802_3_PHY_INTERFACE "ieee_802_3_phy"
SIM_INTERFACE(ieee_802_3_phy) {
        
        int (*send_frame)(conf_object_t *obj, dbuffer_t *buf, int replace_crc);
        int (*check_tx_bandwidth)(conf_object_t *obj);
#if !defined(PYWRAP)
        void (*add_mac)(conf_object_t *obj, const uint8 *mac);
        void (*del_mac)(conf_object_t *obj, const uint8 *mac);
        void (*add_mac_mask)(conf_object_t *obj, const uint8 *mac,
                             const uint8 *mask);
        void (*del_mac_mask)(conf_object_t *obj, const uint8 *mac,
                             const uint8 *mask);
#endif
        void (*set_promiscous_mode)(conf_object_t *obj, int enable);
        
};

Interface that should be implemented by 802.3 physical layers. Deprecated; use ieee_802_3_phy_v2 instead.

Execution Context
Undefined.

ieee_802_3_mac_v3 ieee_802_3_phy_v2