Home
last modified time | relevance | path

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

/Linux-v6.6/net/netfilter/
Dxt_iprange.c24 m = ntohl(iph->saddr) < ntohl(info->src_min.ip); in iprange_mt4()
31 &info->src_min.ip, in iprange_mt4()
73 m = iprange_ipv6_lt(&iph->saddr, &info->src_min.in6); in iprange_mt6()
80 &info->src_min.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.c323 char src_min[IP_NAME_SZ]; /* IP, ie 1.2.3.4 */ member
613 pkt_dev->src_min, pkt_dev->src_max); in pktgen_if_show()
1489 len = strn_len(&user_buffer[i], sizeof(pkt_dev->src_min) - 1); in pktgen_if_write()
1496 if (strcmp(buf, pkt_dev->src_min) != 0) { in pktgen_if_write()
1497 memset(pkt_dev->src_min, 0, sizeof(pkt_dev->src_min)); in pktgen_if_write()
1498 strcpy(pkt_dev->src_min, buf); in pktgen_if_write()
1499 pkt_dev->saddr_min = in_aton(pkt_dev->src_min); in pktgen_if_write()
1503 pr_debug("src_min set to: %s\n", pkt_dev->src_min); in pktgen_if_write()
1505 sprintf(pg_result, "OK: src_min=%s", pkt_dev->src_min); in pktgen_if_write()
2222 if (strlen(pkt_dev->src_min) == 0) { in pktgen_setup_inject()
[all …]
/Linux-v6.6/Documentation/networking/
Dpktgen.rst100 src_min: src_max:
149 pgset "src_min 10.0.0.1" Set the minimum (or only) source IP.
366 src_min