Searched refs:src_min (Results 1 – 2 of 2) sorted by relevance
/net/netfilter/ |
D | xt_iprange.c | 27 m = ntohl(iph->saddr) < ntohl(info->src_min.ip); in iprange_mt4() 34 &info->src_min.ip, in iprange_mt4() 76 m = iprange_ipv6_lt(&iph->saddr, &info->src_min.in6); in iprange_mt6() 83 &info->src_min.in6, in iprange_mt6()
|
/net/core/ |
D | pktgen.c | 290 char src_min[IP_NAME_SZ]; /* IP, ie 1.2.3.4 */ member 565 pkt_dev->src_min, pkt_dev->src_max); in pktgen_if_show() 1374 len = strn_len(&user_buffer[i], sizeof(pkt_dev->src_min) - 1); in pktgen_if_write() 1381 if (strcmp(buf, pkt_dev->src_min) != 0) { in pktgen_if_write() 1382 memset(pkt_dev->src_min, 0, sizeof(pkt_dev->src_min)); in pktgen_if_write() 1383 strncpy(pkt_dev->src_min, buf, len); in pktgen_if_write() 1384 pkt_dev->saddr_min = in_aton(pkt_dev->src_min); in pktgen_if_write() 1388 pr_debug("src_min set to: %s\n", pkt_dev->src_min); in pktgen_if_write() 1390 sprintf(pg_result, "OK: src_min=%s", pkt_dev->src_min); in pktgen_if_write() 2094 if (strlen(pkt_dev->src_min) == 0) { in pktgen_setup_inject() [all …]
|