Function ska::pst::recv::packet_weights_valid_for_policy

Function Documentation

bool ska::pst::recv::packet_weights_valid_for_policy(cbf_psr_header_t *header, PacketValidityFlagsPolicy policy)

Determine if the UDPFormat’s policy, when combined with the packet validity flags, results in the weights for this packet being zeroed.

Parameters
  • header – pointer to CBFPSR packet header containing weights

  • policy – the packet validity flag inspection policy to apply

Returns

true packet is valid and weights for packet should not be zeroed; otherwise, false