Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A 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/include/uapi/linux/netfilter/
H A Dxt_iprange.h16 union nf_inet_addr src_min, src_max; member
/linux/net/core/
H A Dpktgen.c324 char src_min[IP_NAME_SZ]; /* IP, ie 1.2.3.4 */ member
614 pkt_dev->src_min, pkt_dev->src_max); in pktgen_if_show()
1510 len = strn_len(&user_buffer[i], sizeof(pkt_dev->src_min) - 1); in pktgen_if_write()
1517 if (strcmp(buf, pkt_dev->src_min) != 0) { in pktgen_if_write()
1518 memset(pkt_dev->src_min, 0, sizeof(pkt_dev->src_min)); in pktgen_if_write()
1519 strcpy(pkt_dev->src_min, buf); in pktgen_if_write()
1520 pkt_dev->saddr_min = in_aton(pkt_dev->src_min); in pktgen_if_write()
1524 pr_debug("src_min set to: %s\n", pkt_dev->src_min); in pktgen_if_write()
1526 sprintf(pg_result, "OK: src_min=%s", pkt_dev->src_min); in pktgen_if_write()
2243 if (strlen(pkt_dev->src_min) == 0) { in pktgen_setup_inject()
[all …]
/linux/Documentation/networking/
H A Dpktgen.rst100 src_min: src_max:
149 pgset "src_min 10.0.0.1" Set the minimum (or only) source IP.
378 src_min