Lines Matching refs:core
58 struct redir_core core;
69 return (i->core.orig_srcip == orig_srcip
70 && i->core.orig_dstip == orig_dstip
71 && i->core.orig_sport == orig_sport
72 && i->core.orig_dport == orig_dport);
90 tcph->check = cheat_check(~redir->core.orig_dstip,
91 redir->core.new_dstip,
92 cheat_check(redir->core.orig_dport ^ 0xFFFF,
93 redir->core.new_dport,
95 iph->check = cheat_check(~redir->core.orig_dstip,
96 redir->core.new_dstip, iph->check);
97 tcph->dest = redir->core.new_dport;
98 iph->daddr = redir->core.new_dstip;
108 return (i->core.orig_srcip == orig_srcip
109 && i->core.new_dstip == new_dstip
110 && i->core.orig_sport == orig_sport
111 && i->core.new_dport == new_dport);
130 tcph->check = cheat_check(~redir->core.new_dstip,
131 redir->core.orig_dstip,
132 cheat_check(redir->core.new_dport ^ 0xFFFF,
133 redir->core.orig_dport,
135 iph->check = cheat_check(~redir->core.new_dstip,
136 redir->core.orig_dstip,
138 tcph->source = redir->core.orig_dport;
139 iph->saddr = redir->core.orig_dstip;
222 redir->core = ((struct redir_core)