예제 #1
0
void
match_set_tp_src(struct match *match, ovs_be16 tp_src)
{
    match_set_tp_src_masked(match, tp_src, OVS_BE16_MAX);
}
예제 #2
0
파일: match.c 프로젝트: AlickHill/Lantern
void
match_set_tp_src(struct match *match, ovs_be16 tp_src)
{
    match_set_tp_src_masked(match, tp_src, htons(UINT16_MAX));
}
예제 #3
0
FlowBuilder& FlowBuilder::tpSrc(uint16_t port, uint16_t mask) {
    match_set_tp_src_masked(match(), htons(port), htons(mask));
    return *this;
}