bip: decouple broadcast destination port from bind port (#1311)
Co-authored-by: Leunar Kalludra <Leunar.Kalludra@de.bosch.com>
This commit is contained in:
@@ -80,6 +80,11 @@ void bip_set_port(uint16_t port)
|
||||
ztest_check_expected_value(port);
|
||||
}
|
||||
|
||||
void bip_set_broadcast_port(uint16_t port)
|
||||
{
|
||||
ztest_check_expected_value(port);
|
||||
}
|
||||
|
||||
bool bip_port_changed(void)
|
||||
{
|
||||
return ztest_get_return_value();
|
||||
@@ -90,6 +95,11 @@ uint16_t bip_get_port(void)
|
||||
return ztest_get_return_value();
|
||||
}
|
||||
|
||||
uint16_t bip_get_broadcast_port(void)
|
||||
{
|
||||
return ztest_get_return_value();
|
||||
}
|
||||
|
||||
bool bip_set_addr(const BACNET_IP_ADDRESS *addr)
|
||||
{
|
||||
ztest_check_expected_data(addr, sizeof(BACNET_IP_ADDRESS));
|
||||
|
||||
Reference in New Issue
Block a user