Searched refs:src_min (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/net/netfilter/ |
D | xt_iprange.c | 24 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-6.1.9/include/uapi/linux/netfilter/ |
D | xt_iprange.h | 16 union nf_inet_addr src_min, src_max; member
|
/linux-6.1.9/net/core/ |
D | pktgen.c | 323 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-6.1.9/Documentation/networking/ |
D | pktgen.rst | 100 src_min: src_max: 149 pgset "src_min 10.0.0.1" Set the minimum (or only) source IP. 366 src_min
|