예제 #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);
}
예제 #2
0
파일: match.c 프로젝트: AlickHill/Lantern
void
match_set_tp_dst(struct match *match, ovs_be16 tp_dst)
{
    match_set_tp_dst_masked(match, tp_dst, htons(UINT16_MAX));
}
예제 #3
0
FlowBuilder& FlowBuilder::tpDst(uint16_t port, uint16_t mask) {
    match_set_tp_dst_masked(match(), htons(port), htons(mask));
    return *this;
}