Home
last modified time | relevance | path

Searched refs:src_max (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/net/netfilter/
Dxt_iprange.c25 m |= ntohl(iph->saddr) > ntohl(info->src_max.ip); in iprange_mt4()
32 &info->src_max.ip); in iprange_mt4()
74 m |= iprange_ipv6_lt(&info->src_max.in6, &iph->saddr); in iprange_mt6()
81 &info->src_max.in6); in iprange_mt6()
/Linux-v6.6/include/uapi/linux/netfilter/
Dxt_iprange.h16 union nf_inet_addr src_min, src_max; member
/Linux-v6.6/net/core/
Dpktgen.c324 char src_max[IP_NAME_SZ]; /* IP, ie 1.2.3.4 */ member
613 pkt_dev->src_min, pkt_dev->src_max); in pktgen_if_show()
1509 len = strn_len(&user_buffer[i], sizeof(pkt_dev->src_max) - 1); in pktgen_if_write()
1516 if (strcmp(buf, pkt_dev->src_max) != 0) { in pktgen_if_write()
1517 memset(pkt_dev->src_max, 0, sizeof(pkt_dev->src_max)); in pktgen_if_write()
1518 strcpy(pkt_dev->src_max, buf); in pktgen_if_write()
1519 pkt_dev->saddr_max = in_aton(pkt_dev->src_max); in pktgen_if_write()
1523 pr_debug("src_max set to: %s\n", pkt_dev->src_max); in pktgen_if_write()
1525 sprintf(pg_result, "OK: src_max=%s", pkt_dev->src_max); in pktgen_if_write()
2240 pkt_dev->saddr_max = in_aton(pkt_dev->src_max); in pktgen_setup_inject()
/Linux-v6.6/Documentation/networking/
Dpktgen.rst100 src_min: src_max:
150 pgset "src_max 10.0.0.254" Set the maximum source IP.
367 src_max