Searched refs:tcpinfo (Results 1 – 2 of 2) sorted by relevance
| /Linux-v4.19/net/netfilter/ |
| D | xt_tcpudp.c | 69 const struct xt_tcp *tcpinfo = par->matchinfo; in tcp_mt() local 95 if (!port_match(tcpinfo->spts[0], tcpinfo->spts[1], in tcp_mt() 97 !!(tcpinfo->invflags & XT_TCP_INV_SRCPT))) in tcp_mt() 99 if (!port_match(tcpinfo->dpts[0], tcpinfo->dpts[1], in tcp_mt() 101 !!(tcpinfo->invflags & XT_TCP_INV_DSTPT))) in tcp_mt() 103 if (!NF_INVF(tcpinfo, XT_TCP_INV_FLAGS, in tcp_mt() 104 (((unsigned char *)th)[13] & tcpinfo->flg_mask) == tcpinfo->flg_cmp)) in tcp_mt() 106 if (tcpinfo->option) { in tcp_mt() 111 if (!tcp_find_option(tcpinfo->option, skb, par->thoff, in tcp_mt() 113 tcpinfo->invflags & XT_TCP_INV_OPTION, in tcp_mt() [all …]
|
| D | xt_TCPMSS.c | 256 const struct xt_tcp *tcpinfo = (const struct xt_tcp *)m->data; in find_syn_match() local 259 tcpinfo->flg_cmp & TCPHDR_SYN && in find_syn_match() 260 !(tcpinfo->invflags & XT_TCP_INV_FLAGS)) in find_syn_match()
|