Lines Matching refs:natinfo
39 struct ebt_nat_info *natinfo = (struct ebt_nat_info *)target->data; in brdnat_init() local
41 natinfo->target = EBT_ACCEPT; in brdnat_init()
49 struct ebt_nat_info *natinfo = (struct ebt_nat_info *)(*target)->data; in brdnat_parse() local
57 memcpy(natinfo->mac, addr, ETH_ALEN); in brdnat_parse()
61 if (ebt_fill_target(optarg, (unsigned int *)&natinfo->target)) in brdnat_parse()
79 struct ebt_nat_info *natinfo = (struct ebt_nat_info *)target->data; in brdnat_print() local
82 xtables_print_mac(natinfo->mac); in brdnat_print()
83 printf(" --dnat-target %s", ebt_target_name(natinfo->target)); in brdnat_print()
101 const struct ebt_nat_info *natinfo = (const void*)params->target->data; in brdnat_xlate() local
104 ether_ntoa((struct ether_addr *)natinfo->mac), in brdnat_xlate()
105 brdnat_verdict(natinfo->target)); in brdnat_xlate()