The network_breakpoint interface is implemented by
objects that handles ethernet links to have breakpoints.
The add is used to set a breakpoint on a given src mac
address or gived dst mac address or by ether type. If they are combined
then the criteria is that all given has to match.
The remove is used to remove an existing
breakpoint.
SIM_INTERFACE(network_breakpoint) {
int64 (*add)(conf_object_t *NOTNULL obj, bytes_t src_mac_addr,
bytes_t dst_mac_addr, int ether_type,
break_net_cb_t cb, bool once, int64 bp_id);
void (*remove)(conf_object_t *NOTNULL obj, int64 bp_id);
};
#define NETWORK_BREAKPOINT_INTERFACE "network_breakpoint"