Lines Matching refs:mangle
182 struct arpt_mangle *mangle = cb->data; in mangle_parse() local
188 mangle->target = NF_ACCEPT; in mangle_parse()
209 mangle->u_s.src_ip.s_addr = ipaddr->s_addr; in mangle_parse()
211 mangle->flags |= ARPT_MANGLE_SIP; in mangle_parse()
230 mangle->u_t.tgt_ip.s_addr = ipaddr->s_addr; in mangle_parse()
232 mangle->flags |= ARPT_MANGLE_TIP; in mangle_parse()
248 memcpy(mangle->src_devaddr, macaddr, e->arp.arhln); in mangle_parse()
249 mangle->flags |= ARPT_MANGLE_SDEV; in mangle_parse()
264 memcpy(mangle->tgt_devaddr, macaddr, e->arp.arhln); in mangle_parse()
265 mangle->flags |= ARPT_MANGLE_TDEV; in mangle_parse()
269 mangle->target = NF_DROP; in mangle_parse()
271 mangle->target = NF_ACCEPT; in mangle_parse()
273 mangle->target = ARPT_CONTINUE; in mangle_parse()