Lines Matching refs:FAMILY_ADDRESS_SIZE
122 siphash24_compress(&route->dst, FAMILY_ADDRESS_SIZE(route->family), state); in route_hash_func()
125 siphash24_compress(&route->src, FAMILY_ADDRESS_SIZE(route->family), state); in route_hash_func()
129 … siphash24_compress(&route->gw, FAMILY_ADDRESS_SIZE(route->gw_family), state); in route_hash_func()
133 siphash24_compress(&route->prefsrc, FAMILY_ADDRESS_SIZE(route->family), state); in route_hash_func()
169 r = memcmp(&a->dst, &b->dst, FAMILY_ADDRESS_SIZE(a->family)); in route_compare_func()
177 r = memcmp(&a->src, &b->src, FAMILY_ADDRESS_SIZE(a->family)); in route_compare_func()
186 r = memcmp(&a->gw, &b->gw, FAMILY_ADDRESS_SIZE(a->family)); in route_compare_func()
195 r = memcmp(&a->prefsrc, &b->prefsrc, FAMILY_ADDRESS_SIZE(a->family)); in route_compare_func()
1077 …r = rtattr_append_attribute(rta, RTA_GATEWAY, &m->gateway.address, FAMILY_ADDRESS_SIZE(m->gateway.… in append_nexthop_one()
1081 rtnh->rtnh_len += RTA_SPACE(FAMILY_ADDRESS_SIZE(m->gateway.family)); in append_nexthop_one()
1083 …r = rtattr_append_attribute(rta, RTA_VIA, &m->gateway, FAMILY_ADDRESS_SIZE(m->gateway.family) + si… in append_nexthop_one()
1087 … rtnh->rtnh_len += RTA_SPACE(FAMILY_ADDRESS_SIZE(m->gateway.family) + sizeof(m->gateway.family)); in append_nexthop_one()