Home
last modified time | relevance | path

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

/linux-5.19.10/net/netfilter/
Dxt_tcpudp.c70 const struct xt_tcp *tcpinfo = par->matchinfo; in tcp_mt() local
96 if (!port_match(tcpinfo->spts[0], tcpinfo->spts[1], in tcp_mt()
98 !!(tcpinfo->invflags & XT_TCP_INV_SRCPT))) in tcp_mt()
100 if (!port_match(tcpinfo->dpts[0], tcpinfo->dpts[1], in tcp_mt()
102 !!(tcpinfo->invflags & XT_TCP_INV_DSTPT))) in tcp_mt()
104 if (!NF_INVF(tcpinfo, XT_TCP_INV_FLAGS, in tcp_mt()
105 (((unsigned char *)th)[13] & tcpinfo->flg_mask) == tcpinfo->flg_cmp)) in tcp_mt()
107 if (tcpinfo->option) { in tcp_mt()
112 if (!tcp_find_option(tcpinfo->option, skb, par->thoff, in tcp_mt()
114 tcpinfo->invflags & XT_TCP_INV_OPTION, in tcp_mt()
[all …]
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()