Home
last modified time | relevance | path

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

/openbmc/linux/net/netfilter/
H A Dxt_tcpudp.c73 const struct xt_tcp *tcpinfo = par->matchinfo; in tcp_mt() local
99 if (!port_match(tcpinfo->spts[0], tcpinfo->spts[1], in tcp_mt()
101 !!(tcpinfo->invflags & XT_TCP_INV_SRCPT))) in tcp_mt()
103 if (!port_match(tcpinfo->dpts[0], tcpinfo->dpts[1], in tcp_mt()
105 !!(tcpinfo->invflags & XT_TCP_INV_DSTPT))) in tcp_mt()
107 if (!NF_INVF(tcpinfo, XT_TCP_INV_FLAGS, in tcp_mt()
108 (((unsigned char *)th)[13] & tcpinfo->flg_mask) == tcpinfo->flg_cmp)) in tcp_mt()
110 if (tcpinfo->option) { in tcp_mt()
115 if (!tcp_find_option(tcpinfo->option, skb, par->thoff, in tcp_mt()
117 tcpinfo->invflags & XT_TCP_INV_OPTION, in tcp_mt()
[all …]
H A Dxt_TCPMSS.c253 const struct xt_tcp *tcpinfo = (const struct xt_tcp *)m->data; in find_syn_match() local
256 tcpinfo->flg_cmp & TCPHDR_SYN && in find_syn_match()
257 !(tcpinfo->invflags & XT_TCP_INV_FLAGS)) in find_syn_match()