pub unsafe extern "C" fn udsUpdateNetworkAttribute(
    bitmask: u16_,
    flag: bool
) -> Result
Expand description

This can be used by the host to update the network attributes. If bitmask 0x4 is clear in the input bitmask, this clears that bit in the value before actually writing the value into state. Normally you should use the below wrapper functions.

§Arguments

  • bitmask - Bitmask to clear/set in the attributes. See the UDSNETATTR enum values.
  • flag - When false, bit-clear, otherwise bit-set.