Esempio n. 1
0
void
match_set_tp_dst(struct match *match, ovs_be16 tp_dst)
{
    match_set_tp_dst_masked(match, tp_dst, OVS_BE16_MAX);
}
Esempio n. 2
0
void
match_set_tp_dst(struct match *match, ovs_be16 tp_dst)
{
    match_set_tp_dst_masked(match, tp_dst, htons(UINT16_MAX));
}
Esempio n. 3
0
FlowBuilder& FlowBuilder::tpDst(uint16_t port, uint16_t mask) {
    match_set_tp_dst_masked(match(), htons(port), htons(mask));
    return *this;
}