Home
last modified time | relevance | path

Searched refs:dst_min (Results 1 – 2 of 2) sorted by relevance

/net/netfilter/
Dxt_iprange.c40 m = ntohl(iph->daddr) < ntohl(info->dst_min.ip); in iprange_mt4()
47 &info->dst_min.ip, in iprange_mt4()
89 m = iprange_ipv6_lt(&iph->daddr, &info->dst_min.in6); in iprange_mt6()
96 &info->dst_min.in6, in iprange_mt6()
/net/core/
Dpktgen.c288 char dst_min[IP_NAME_SZ]; /* IP, ie 1.2.3.4 */ member
562 pkt_dev->dst_min, pkt_dev->dst_max); in pktgen_if_show()
1243 len = strn_len(&user_buffer[i], sizeof(pkt_dev->dst_min) - 1); in pktgen_if_write()
1250 if (strcmp(buf, pkt_dev->dst_min) != 0) { in pktgen_if_write()
1251 memset(pkt_dev->dst_min, 0, sizeof(pkt_dev->dst_min)); in pktgen_if_write()
1252 strncpy(pkt_dev->dst_min, buf, len); in pktgen_if_write()
1253 pkt_dev->daddr_min = in_aton(pkt_dev->dst_min); in pktgen_if_write()
1257 pr_debug("dst_min set to: %s\n", pkt_dev->dst_min); in pktgen_if_write()
1259 sprintf(pg_result, "OK: dst_min=%s", pkt_dev->dst_min); in pktgen_if_write()
2113 pkt_dev->daddr_min = in_aton(pkt_dev->dst_min); in pktgen_setup_inject()