Home
last modified time | relevance | path

Searched refs:newrange (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dxt_NETMAP.c22 struct nf_nat_range2 newrange; in netmap_tg6() local
46 newrange.min_addr = new_addr; in netmap_tg6()
47 newrange.max_addr = new_addr; in netmap_tg6()
48 newrange.min_proto = range->min_proto; in netmap_tg6()
49 newrange.max_proto = range->max_proto; in netmap_tg6()
75 struct nf_nat_range2 newrange; in netmap_tg4() local
92 memset(&newrange.min_addr, 0, sizeof(newrange.min_addr)); in netmap_tg4()
93 memset(&newrange.max_addr, 0, sizeof(newrange.max_addr)); in netmap_tg4()
95 newrange.min_addr.ip = new_ip; in netmap_tg4()
96 newrange.max_addr.ip = new_ip; in netmap_tg4()
[all …]
H A Dnf_nat_redirect.c32 struct nf_nat_range2 newrange; in nf_nat_redirect() local
38 memset(&newrange, 0, sizeof(newrange)); in nf_nat_redirect()
40 newrange.flags = range->flags | NF_NAT_RANGE_MAP_IPS; in nf_nat_redirect()
41 newrange.min_addr = *newdst; in nf_nat_redirect()
42 newrange.max_addr = *newdst; in nf_nat_redirect()
43 newrange.min_proto = range->min_proto; in nf_nat_redirect()
44 newrange.max_proto = range->max_proto; in nf_nat_redirect()
46 return nf_nat_setup_info(ct, &newrange, NF_NAT_MANIP_DST); in nf_nat_redirect()
H A Dnf_nat_masquerade.c35 struct nf_nat_range2 newrange; in nf_nat_masquerade_ipv4() local
65 memset(&newrange.min_addr, 0, sizeof(newrange.min_addr)); in nf_nat_masquerade_ipv4()
66 memset(&newrange.max_addr, 0, sizeof(newrange.max_addr)); in nf_nat_masquerade_ipv4()
68 newrange.min_addr.ip = newsrc; in nf_nat_masquerade_ipv4()
69 newrange.max_addr.ip = newsrc; in nf_nat_masquerade_ipv4()
70 newrange.min_proto = range->min_proto; in nf_nat_masquerade_ipv4()
71 newrange.max_proto = range->max_proto; in nf_nat_masquerade_ipv4()
248 struct nf_nat_range2 newrange; in nf_nat_masquerade_ipv6() local
263 newrange.min_addr.in6 = src; in nf_nat_masquerade_ipv6()
264 newrange.max_addr.in6 = src; in nf_nat_masquerade_ipv6()
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dibmphp_res.c80 struct range_node *newrange; in alloc_bus_range() local
105 if (!newrange) { in alloc_bus_range()
110 newrange->start = curr->start_addr; in alloc_bus_range()
111 newrange->end = curr->end_addr; in alloc_bus_range()
114 newrange->rangeno = 1; in alloc_bus_range()
123 newbus->rangeMem = newrange; in alloc_bus_range()
133 newbus->rangeIO = newrange; in alloc_bus_range()
137 debug("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
143 newbus->rangePFMem = newrange; in alloc_bus_range()
147 …debug("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
[all …]
/openbmc/linux/include/linux/
H A Dlogic_pio.h119 int logic_pio_register_range(struct logic_pio_hwaddr *newrange);