Home
last modified time | relevance | path

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

/linux-4.1.27/net/netfilter/
Dxt_tcpudp.c69 const struct xt_tcp *tcpinfo = par->matchinfo; in tcp_mt() local
86 #define FWINVTCP(bool, invflg) ((bool) ^ !!(tcpinfo->invflags & (invflg))) in tcp_mt()
97 if (!port_match(tcpinfo->spts[0], tcpinfo->spts[1], in tcp_mt()
99 !!(tcpinfo->invflags & XT_TCP_INV_SRCPT))) in tcp_mt()
101 if (!port_match(tcpinfo->dpts[0], tcpinfo->dpts[1], in tcp_mt()
103 !!(tcpinfo->invflags & XT_TCP_INV_DSTPT))) in tcp_mt()
105 if (!FWINVTCP((((unsigned char *)th)[13] & tcpinfo->flg_mask) in tcp_mt()
106 == tcpinfo->flg_cmp, in tcp_mt()
109 if (tcpinfo->option) { in tcp_mt()
114 if (!tcp_find_option(tcpinfo->option, skb, par->thoff, in tcp_mt()
[all …]
Dxt_TCPMSS.c256 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()