Lines Matching defs:diff
109 * diff contains the difference between the two with the same
115 i_cmp_addr_impl(void *ip1, void *ip2, ip_addr_type_t atype, int64_t *diff)
164 * 3. if high-order diff == 0, we can take low-order
165 * diff, if necessary cap it, convert it to signed
170 * if high-order diff is > 1, any low-order difference won't
231 if (diff != NULL)
232 *diff = d;
239 ilb_cmp_in6_addr(struct in6_addr *ip1, struct in6_addr *ip2, int64_t *diff)
243 res = i_cmp_addr_impl(ip1, ip2, internal, diff);
248 ilb_cmp_ipaddr(ilb_ip_addr_t *ip1, ilb_ip_addr_t *ip2, int64_t *diff)
252 res = i_cmp_addr_impl(ip1, ip2, external, diff);