Home
last modified time | relevance | path

Searched refs:udpinfo (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dxt_tcpudp.c136 const struct xt_udp *udpinfo = par->matchinfo; in udp_mt() local
151 return port_match(udpinfo->spts[0], udpinfo->spts[1], in udp_mt()
153 !!(udpinfo->invflags & XT_UDP_INV_SRCPT)) in udp_mt()
154 && port_match(udpinfo->dpts[0], udpinfo->dpts[1], in udp_mt()
156 !!(udpinfo->invflags & XT_UDP_INV_DSTPT)); in udp_mt()
161 const struct xt_udp *udpinfo = par->matchinfo; in udp_mt_check() local
164 return (udpinfo->invflags & ~XT_UDP_INV_MASK) ? -EINVAL : 0; in udp_mt_check()